Search Gradle plugins

Using the plugins DSL:

plugins {
  id("io.github.enrignagna.Plugin-Test") version "0.1.0-archeo+03c58e4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.enrignagna:Plugin-Test:0.1.0-archeo+03c58e4")
  }
}

apply(plugin = "io.github.enrignagna.Plugin-Test")

Using the plugins DSL:

plugins {
  id "io.github.enrignagna.Plugin-Test" version "0.1.0-archeo+03c58e4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.enrignagna:Plugin-Test:0.1.0-archeo+03c58e4"
  }
}

apply plugin: "io.github.enrignagna.Plugin-Test"

Learn how to apply plugins to subprojects