Search Gradle plugins

ws.gross.private-repo

Settings plugin to configure dependencyResolutionManagement and pluginManagement to use private Nexus/Artifactory repository with auth and convenient defaults.

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 Settings plugin to configure dependencyResolutionManagement and pluginManagement to use private Nexus/Artifactory repository with auth and convenient defaults.

Add this plugin to your build using the plugins DSL:

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