Search Gradle plugins

digital.fino.build.gradle-maven-auth

Updated version of 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/fino-digital/gradle-maven-auth

Sources: https://github.com/fino-digital/gradle-maven-auth

Version 4.1.1 (latest)

Created 31 January 2024.

Updated version of 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

Add this plugin to your build using the plugins DSL:

plugins {
  id("digital.fino.build.gradle-maven-auth") version "4.1.1"
}

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