Search Gradle plugins

Version 1.0

Created 07 May 2019.

Sample plugin

Using the plugins DSL:

plugins {
  id "com.egtest" version "1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.egtest:sample-plugins:1.0"
  }
}

apply plugin: "com.egtest"

Using the plugins DSL:

plugins {
  id("com.egtest") version "1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.egtest:sample-plugins:1.0")
  }
}

apply(plugin = "com.egtest")

Learn how to apply plugins to subprojects