Search Gradle plugins

one.chest.maven-repo-auth

Applies security defined for a repository in Maven's settings.xml file to MavenRepository elements in a Gradle build - both upload and download

https://github.com/DNAlchemist/gradle-maven-publish-auth

Sources: https://github.com/DNAlchemist/gradle-maven-publish-auth

Version 3.0.4 (latest)

3.0.4

Created 20 January 2020.

Applies security defined for a repository in Maven's settings.xml file to MavenRepository elements in a Gradle build - both upload and download

Using the plugins DSL:

plugins {
  id("one.chest.maven-repo-auth") version "3.0.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.one.chest:gradle-maven-publish-auth:3.0.4")
  }
}

apply(plugin = "one.chest.maven-repo-auth")

Using the plugins DSL:

plugins {
  id "one.chest.maven-repo-auth" version "3.0.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.one.chest:gradle-maven-publish-auth:3.0.4"
  }
}

apply plugin: "one.chest.maven-repo-auth"

Learn how to apply plugins to subprojects