feat: add zoo sample_test1
This commit is contained in:
14
build.gradle
14
build.gradle
@@ -73,22 +73,20 @@ bootJar {
|
||||
// formatAnnotations()
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
spotless {
|
||||
java {
|
||||
target 'src/**/*.java'
|
||||
googleJavaFormat('1.19.2')
|
||||
.aosp()
|
||||
.reflowLongStrings()
|
||||
// removeUnusedImports()
|
||||
indentWithSpaces(2)
|
||||
trimTrailingWhitespace()
|
||||
endWithNewline()
|
||||
importOrder()
|
||||
removeUnusedImports()
|
||||
formatAnnotations()
|
||||
|
||||
// indentWithSpaces는 google-java-format에는 영향 없음
|
||||
// indent control 불가 → 필요하면 google-java-format 제거해야 함
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Run spotlessCheck before build
|
||||
tasks.named('build') {
|
||||
dependsOn 'spotlessCheck'
|
||||
|
||||
@@ -29,7 +29,8 @@ public class AnimalDto {
|
||||
@Getter
|
||||
public static class Basic {
|
||||
|
||||
@JsonIgnore private Long id;
|
||||
@JsonIgnore
|
||||
private Long id;
|
||||
private String uuid;
|
||||
private Category category;
|
||||
private Species species;
|
||||
|
||||
@@ -27,7 +27,8 @@ public class ZooDto {
|
||||
@Getter
|
||||
public static class Basic {
|
||||
|
||||
@JsonIgnore private Long id;
|
||||
@JsonIgnore
|
||||
private Long id;
|
||||
private String uuid;
|
||||
private String name;
|
||||
private String location;
|
||||
|
||||
Reference in New Issue
Block a user