io.github.simonharmonicminor.code.style
拥有者: Semyon Kirekov
预定义的 Checkstyle 和 PMD 规则
https://github.com/SimonHarmonicMinor/gradle-code-style-plugin-example
来源:https://github.com/SimonHarmonicMinor/gradle-code-style-plugin-example
使用 plugins DSL
plugins {
id("io.github.simonharmonicminor.code.style") version "0.3.0"
}
使用 旧版插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("io.github.simonharmonicminor.code.style:gradle-code-style-plugin-example:0.3.0")
}
}
apply(plugin = "io.github.simonharmonicminor.code.style")
使用 plugins DSL
plugins {
id "io.github.simonharmonicminor.code.style" version "0.3.0"
}
使用 旧版插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "io.github.simonharmonicminor.code.style:gradle-code-style-plugin-example:0.3.0"
}
}
apply plugin: "io.github.simonharmonicminor.code.style"