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)

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

Add this plugin to your build using the plugins DSL:

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

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