mirror of
https://github.com/afollestad/nock-nock.git
synced 2025-04-20 19:45:17 +00:00
17 lines
No EOL
477 B
Groovy
17 lines
No EOL
477 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'])
|
|
licenseHeader '/*\n * Licensed under Apache-2.0\n *\n * Designed and developed by Aidan Follestad (@afollestad)\n */'
|
|
trimTrailingWhitespace()
|
|
endWithNewline()
|
|
}
|
|
} |