Ver código fonte

Make format task work with AOT project

Josh Cummings 11 meses atrás
pai
commit
4a7012b6f7
1 arquivos alterados com 9 adições e 0 exclusões
  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")
+}
+