Search Gradle plugins

Version 0.0.1

Created 07 July 2021.

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.1"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects