Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 918 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 918 Bytes

Checkstyle Config

Maven central version GitHub license

A checkstyle configuration shared by multiple projects.

Usage

Following Gradle documentation's instructions, checkstyle can be configured in your project this way:

apply plugin: "checkstyle"

configurations {
    checkstyleConfig
}

dependencies {
    checkstyleConfig "org.hildan.checkstyle:checkstyle-config:1.1.0"
}

checkstyle { // affects all Checkstyle tasks
    config = resources.text.fromArchiveEntry(configurations.checkstyleConfig, "checkstyle.xml")
}