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

Version 0.10.0 (latest)

Created 01 May 2021.

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

Using the plugins DSL:

plugins {
  id "ws.gross.private-repo" version "0.10.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ws.gross.gradle:private-repo:0.10.0"
  }
}

apply plugin: "ws.gross.private-repo"

Using the plugins DSL:

plugins {
  id("ws.gross.private-repo") version "0.10.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ws.gross.gradle:private-repo:0.10.0")
  }
}

apply(plugin = "ws.gross.private-repo")

Learn how to apply plugins to subprojects