feat: add zoo sample_test1
This commit is contained in:
25
build.gradle
25
build.gradle
@@ -61,19 +61,34 @@ bootJar {
|
||||
}
|
||||
|
||||
// Spotless configuration for code formatting
|
||||
//spotless {
|
||||
// java {
|
||||
// target 'src/**/*.java'
|
||||
// googleJavaFormat('1.19.2').aosp().reflowLongStrings()
|
||||
// indentWithSpaces(2)
|
||||
// trimTrailingWhitespace()
|
||||
// endWithNewline()
|
||||
// importOrder()
|
||||
// removeUnusedImports()
|
||||
// formatAnnotations()
|
||||
// }
|
||||
//}
|
||||
spotless {
|
||||
java {
|
||||
target 'src/**/*.java'
|
||||
googleJavaFormat('1.19.2').aosp().reflowLongStrings()
|
||||
indentWithSpaces(2)
|
||||
trimTrailingWhitespace()
|
||||
endWithNewline()
|
||||
googleJavaFormat('1.19.2')
|
||||
.aosp()
|
||||
.reflowLongStrings()
|
||||
// removeUnusedImports()
|
||||
importOrder()
|
||||
removeUnusedImports()
|
||||
formatAnnotations()
|
||||
|
||||
// indentWithSpaces는 google-java-format에는 영향 없음
|
||||
// indent control 불가 → 필요하면 google-java-format 제거해야 함
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Run spotlessCheck before build
|
||||
tasks.named('build') {
|
||||
dependsOn 'spotlessCheck'
|
||||
|
||||
Reference in New Issue
Block a user