WIP: detekt-compiler-plugin
对将detekt集成为Kotlin编译器插件的实验支持
用法
plugins {
id( " io.github.detekt.gradle.compiler-plugin " ) version " "
}
detekt {
isEnabled = true // or with a property: System.getProperty("runDetekt") != null
// everything from https://detekt.github.io/detekt/kotlindsl.html#options-for-detekt-configuration-closure
// is supported to declare, only some options
2021-05-26 18:02:53
168KB
Kotlin
1