Search Gradle plugins

ws.gross.private-repo-publish

Gradle plugin to configure `maven-publish` plugin with sane default repositories to use with private Nexus/Artifactory authenticated repo.

https://github.com/grossws/private-repo

Sources: https://github.com/grossws/gradle-private-repo-plugin.git

Version 0.18.0-rc.6 (latest)

Created 06 July 2023.

Gradle plugin to configure `maven-publish` plugin with sane default repositories to use with private Nexus/Artifactory authenticated repo.

Add this plugin to your build using the plugins DSL:

plugins {
  id("ws.gross.private-repo-publish") version "0.18.0-rc.6"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("ws.gross.private-repo-publish:ws.gross.private-repo-publish.gradle.plugin:0.18.0-rc.6")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("ws.gross.private-repo-publish")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("ws.gross.private-repo-publish:ws.gross.private-repo-publish.gradle.plugin:0.18.0-rc.6")
      }
    }
    
    apply(plugin = "ws.gross.private-repo-publish")
  • Applying plugins to all subprojects .