Search Gradle plugins

Version 1.0.0 (latest)

1.0.0

Created 06 May 2018.

Demo plugin to use as a starting point for custom plugin development

Using the plugins DSL:

plugins {
  id("com.stanley.demo.DemoPlugin") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.stanley:demo:1.0.0")
  }
}

apply(plugin = "com.stanley.demo.DemoPlugin")

Using the plugins DSL:

plugins {
  id "com.stanley.demo.DemoPlugin" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.stanley:demo:1.0.0"
  }
}

apply plugin: "com.stanley.demo.DemoPlugin"

Learn how to apply plugins to subprojects