Search Gradle plugins

Version 1.0.0 (latest)

1.0.0

Created 04 June 2020.

custom plugin

Using the plugins DSL:

plugins {
  id("com.xjke.demoKotlinPlugin") version "1.0.0"
}

Using legacy plugin application:

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

apply(plugin = "com.xjke.demoKotlinPlugin")

Using the plugins DSL:

plugins {
  id "com.xjke.demoKotlinPlugin" version "1.0.0"
}

Using legacy plugin application:

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

apply plugin: "com.xjke.demoKotlinPlugin"

Learn how to apply plugins to subprojects