Moves to spotless

This commit is contained in:
Vitor Pamplona
2024-01-06 10:44:05 -05:00
parent ed6c1e62e4
commit de61f7f383
9 changed files with 60 additions and 16 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ echo "$JAVA_HOME"
echo "$(java -version)"
echo "Running test... "
./gradlew ktlintCheck
./gradlew spotlessCheck
status=$?
@@ -22,7 +22,7 @@ if [ "$status" = 0 ] ; then
else
echo "*********************************************************"
echo 1>&2 "Static analysis found violations it could not fix."
printf "Run ${GREEN}./gradlew ktlintFormat${NO_COLOR} to fix formatting related issues...\n"
printf "Run ${GREEN}./gradlew spotlessApply${NO_COLOR} to fix formatting related issues...\n"
echo "*********************************************************"
exit 1
fi