Parcourir la source

Make format task work with AOT project

Josh Cummings il y a 11 mois
Parent
commit
4a7012b6f7
1 fichiers modifiés avec 9 ajouts et 0 suppressions
  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")
+}
+