Search Gradle plugins

Using the plugins DSL:

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

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+ebf882c")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects