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

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

Version 3.0.0-SNAPSHOT

3.0.0-SNAPSHOT

Created 07 November 2019.

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.0-SNAPSHOT"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "org.hibernate.build.maven-repo-auth" version "3.0.0-SNAPSHOT"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects