Search Gradle plugins

Version 3.0-SNAPSHOT (latest)

Created 31 January 2018.

Greetings from Mujammil!

Using the plugins DSL:

plugins {
  id "com.github.sample.groovy.plugin" version "3.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.sample.groovy.plugin:firstplugin:3.0-SNAPSHOT"
  }
}

apply plugin: "com.github.sample.groovy.plugin"

Using the plugins DSL:

plugins {
  id("com.github.sample.groovy.plugin") version "3.0-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.sample.groovy.plugin:firstplugin:3.0-SNAPSHOT")
  }
}

apply(plugin = "com.github.sample.groovy.plugin")

Learn how to apply plugins to subprojects