Danger-Kotlin plugin for processing checkstyle formatted xml file.
APACHE-2.0 License
Danger-Kotlin plugin for processing checkstyle formatted xml file.
Put
@file:Repository("https://repo.maven.apache.org/maven2/")
@file:DependsOn("io.github.417-72ki:danger-kotlin-checkstyle_format:0.1.0")
to the top of your Dangerfile.df.kts
// Required to register the plugin
register plugin CheckstyleFormat
danger(args) {
// You should run `./gradlew KtlintCheck` with `checkstyle` reporter before executing `Danger-Kotlin`.
CheckstyleFormat.reportKtlint()
}
See Dangerfile.df.kts for more specific usage.