Search Gradle plugins

Version SNAPSHOT-0.1 (latest)

Created 11 June 2017.

Example Gradle Plugin XX

Using the plugins DSL:

plugins {
  id "gradle.plugin.example" version "SNAPSHOT-0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.appunite:gradle.plugin.example:SNAPSHOT-0.1"
  }
}

apply plugin: "gradle.plugin.example"

Using the plugins DSL:

plugins {
  id("gradle.plugin.example") version "SNAPSHOT-0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.appunite:gradle.plugin.example:SNAPSHOT-0.1")
  }
}

apply(plugin = "gradle.plugin.example")

Learn how to apply plugins to subprojects