417-72KI / danger-kotlin-checkstyle_format

Danger-Kotlin plugin for processing checkstyle formatted xml file.

Home Page:https://central.sonatype.dev/artifact/io.github.417-72ki/danger-kotlin-checkstyle_format/0.0.1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

danger-kotlin-checkstyle_format

publish Maven Central

Danger-Kotlin plugin for processing checkstyle formatted xml file.

Installation

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

Usage

// 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.

About

Danger-Kotlin plugin for processing checkstyle formatted xml file.

https://central.sonatype.dev/artifact/io.github.417-72ki/danger-kotlin-checkstyle_format/0.0.1

License:Apache License 2.0


Languages

Language:Kotlin 96.1%Language:Makefile 2.1%Language:Dockerfile 1.7%