Search Gradle plugins

Version 1.0 (latest)

Created 26 March 2015.

Greetings from here!

Using the plugins DSL:

plugins {
  id "org.samples.greeting" version "1.0"
}

Using legacy plugin application:

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

apply plugin: "org.samples.greeting"

Using the plugins DSL:

plugins {
  id("org.samples.greeting") version "1.0"
}

Using legacy plugin application:

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

apply(plugin = "org.samples.greeting")

Learn how to apply plugins to subprojects