Search Gradle plugins

Version 2.5-beta (latest)

Created 23 December 2017.

test plugin

Using the plugins DSL:

plugins {
  id "com.wangxue.plugin.MyPlugin" version "2.5-beta"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.my-plugin:custom_plugin:2.5-beta"
  }
}

apply plugin: "com.wangxue.plugin.MyPlugin"

Using the plugins DSL:

plugins {
  id("com.wangxue.plugin.MyPlugin") version "2.5-beta"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.my-plugin:custom_plugin:2.5-beta")
  }
}

apply(plugin = "com.wangxue.plugin.MyPlugin")

Learn how to apply plugins to subprojects