Search Gradle plugins

Version 1.0.0 (latest)

1.0.0

Created 01 February 2022.

A plugin get to all credentials in settings.xml, and access it on build.gradle

Using the plugins DSL:

plugins {
  id("com.github.gustavohssantorio.credentials") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.gustavohssantorio:credentials:1.0.0")
  }
}

apply(plugin = "com.github.gustavohssantorio.credentials")

Using the plugins DSL:

plugins {
  id "com.github.gustavohssantorio.credentials" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.gustavohssantorio:credentials:1.0.0"
  }
}

apply plugin: "com.github.gustavohssantorio.credentials"

Learn how to apply plugins to subprojects