Search Gradle plugins

org.hibernate.build.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/hibernate/gradle-maven-publish-auth

Version 3.0.4 (latest)

Created 10 September 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 "org.hibernate.build.maven-repo-auth" version "3.0.4"
}

Using legacy plugin application:

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

apply plugin: "org.hibernate.build.maven-repo-auth"

Using the plugins DSL:

plugins {
  id("org.hibernate.build.maven-repo-auth") version "3.0.4"
}

Using legacy plugin application:

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

apply(plugin = "org.hibernate.build.maven-repo-auth")

Learn how to apply plugins to subprojects