Files
super-app/spotless.gradle

37 lines
725 B
Groovy
Raw Normal View History

2022-09-21 17:40:35 +05:30
/*
*
* * Copyright © 2022 by Navi Technologies Limited
* * All rights reserved. Strictly confidential
*
*/
spotless {
ratchetFrom 'origin/development'
format 'misc', {
target '**/*.gradle', '**/*.md', '**/.gitignore'
trimTrailingWhitespace()
2022-09-22 09:56:06 +05:30
indentWithSpaces()
2022-09-21 17:40:35 +05:30
endWithNewline()
}
kotlin {
target '**/*.kt'
2022-09-22 09:56:06 +05:30
2022-09-22 11:55:58 +05:30
licenseHeaderFile rootProject.file('spotless.license')
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
}
java {
target '**/*.java'
licenseHeaderFile rootProject.file('spotless.license')
2022-09-21 17:40:35 +05:30
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
}
}