FINERACT-1198 - Revert spotlessApply and use only spotlessCheck

This commit is contained in:
Yemdjih Kaze Nasser
2020-11-26 16:09:37 +08:00
committed by Petri Tuomola
parent b96061613b
commit 6a55a80c7d
2 changed files with 2 additions and 8 deletions
+1 -7
View File
@@ -461,13 +461,7 @@ configure(project.fineractJavaProjects) {
lineEndings 'UNIX'
}
compileJava {
if (project.hasProperty('automatedBuild')) {
dependsOn(spotlessCheck)
} else {
dependsOn(spotlessApply)
}
}
compileJava.dependsOn spotlessCheck
// If we are running Gradle within Eclipse to enhance classes with OpenJPA,
// set the classes directory to point to Eclipse's default build directory