mirror of
https://github.com/afollestad/nock-nock.git
synced 2025-04-20 11:36:10 +00:00
17 lines
No EOL
402 B
Groovy
17 lines
No EOL
402 B
Groovy
apply plugin: "com.diffplug.gradle.spotless"
|
|
spotless {
|
|
java {
|
|
target "**/*.java"
|
|
trimTrailingWhitespace()
|
|
removeUnusedImports()
|
|
googleJavaFormat()
|
|
endWithNewline()
|
|
}
|
|
kotlin {
|
|
target "**/*.kt"
|
|
ktlint().userData(['indent_size': '2', 'continuation_indent_size': '2'])
|
|
licenseHeaderFile '../spotless.license.kt'
|
|
trimTrailingWhitespace()
|
|
endWithNewline()
|
|
}
|
|
} |