io.github.kazurayam.Greetings
一个打印问候和告别的插件
https://kazurayam.github.io/PublishingCustomGradlePlugin_StepByStep/
源代码: https://github.com/kazurayam/PublishingCustomGradlePlugin_StepByStep/
使用 plugins DSL
plugins {
id("io.github.kazurayam.Greetings") version "1.2"
}
使用 旧版插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("io.github.kazurayam:greeting-gradle-plugin:1.2")
}
}
apply(plugin = "io.github.kazurayam.Greetings")
使用 plugins DSL
plugins {
id "io.github.kazurayam.Greetings" version "1.2"
}
使用 旧版插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "io.github.kazurayam:greeting-gradle-plugin:1.2"
}
}
apply plugin: "io.github.kazurayam.Greetings"