se.bjurr.violations.violations-gradle-plugin
所有者: Tomas Bjerre
Gradle将找到来自静态代码分析的报告文件,并可选地使构建失败。
https://github.com/tomasbjerre/violations-gradle-plugin
资源: https://github.com/tomasbjerre/violations-gradle-plugin
使用插件DSL
plugins {
id("se.bjurr.violations.violations-gradle-plugin") version "2.1.0"
}
使用旧插件应用方式
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("se.bjurr.violations:violations-gradle-plugin:2.1.0")
}
}
apply(plugin = "se.bjurr.violations.violations-gradle-plugin")
使用插件DSL
plugins {
id "se.bjurr.violations.violations-gradle-plugin" version "2.1.0"
}
使用旧插件应用方式
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "se.bjurr.violations:violations-gradle-plugin:2.1.0"
}
}
apply plugin: "se.bjurr.violations.violations-gradle-plugin"