Kotlin way
This commit is contained in:
parent
5a03206595
commit
cd990f5772
1 changed files with 4 additions and 4 deletions
|
|
@ -61,11 +61,11 @@ allprojects {
|
||||||
// See https://github.com/JLLeitschuh/ktlint-gradle#configuration
|
// See https://github.com/JLLeitschuh/ktlint-gradle#configuration
|
||||||
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
|
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
|
||||||
version = ktLintVersion
|
version = ktLintVersion
|
||||||
android.set(true)
|
android = true
|
||||||
ignoreFailures.set(false)
|
ignoreFailures = false
|
||||||
enableExperimentalRules.set(true)
|
enableExperimentalRules = true
|
||||||
// display the corresponding rule
|
// display the corresponding rule
|
||||||
verbose.set(true)
|
verbose = true
|
||||||
reporters {
|
reporters {
|
||||||
reporter(org.jlleitschuh.gradle.ktlint.reporter.ReporterType.PLAIN)
|
reporter(org.jlleitschuh.gradle.ktlint.reporter.ReporterType.PLAIN)
|
||||||
// To have XML report for Danger
|
// To have XML report for Danger
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue