Moves to spotless
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user