btkelly / gnag

A Gradle plugin that helps facilitate GitHub PR checking and automatic commenting of violations.
http://gnag.watch
Apache License 2.0
125 stars 14 forks source link

Provide configuration option to override version of detekt #230

Closed bmunzenb closed 5 years ago

bmunzenb commented 5 years ago

This adds an option to the Gnag configuration block that allows overriding the version of detekt used by Gnag:

gnag {
    enabled true
    failOnError true

    detekt {
        enabled true
        toolVersion "1.0.1"
    }
}