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

Version 0.10.1

Created 18 June 2021.

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects