Browse Source

Make format task work with AOT project

Josh Cummings 11 tháng trước cách đây
mục cha
commit
4a7012b6f7
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      servlet/spring-boot/java/aot/data/build.gradle

+ 9 - 0
servlet/spring-boot/java/aot/data/build.gradle

@@ -37,3 +37,12 @@ tasks.withType(Test).configureEach {
 	useJUnitPlatform()
 	outputs.upToDateWhen { false }
 }
+
+compileJava {
+	dependsOn("formatMain")
+}
+
+compileTestJava {
+	dependsOn("formatTest")
+}
+