16 lines
332 B
Groovy
16 lines
332 B
Groovy
apply plugin: "com.diffplug.spotless"
|
|
spotless {
|
|
kotlin {
|
|
target "**/*.kt"
|
|
ktlint()
|
|
trimTrailingWhitespace()
|
|
indentWithSpaces()
|
|
endWithNewline()
|
|
}
|
|
format 'misc', {
|
|
target '**/*.gradle', '**/*.md', '**/.gitignore'
|
|
}
|
|
format 'xml', {
|
|
target '**/*.xml'
|
|
}
|
|
} |