Search Gradle plugins

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

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

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

Learn how to apply plugins to subprojects