Search Gradle plugins

Version 0.0.2

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 "0.0.2"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects