Closed BBScholar closed 11 months ago
Is there a way to do spotless apply on build? Honestly I feel like it could get in the way if we constantly have to run spotlessApply every 3 seconds
You won't need to run spotlessApply constantly. I plan on preventing someone from pushing unless the code is formatted correctly. Shouldn't matter for deploy.
I can definitely force spotlessApply to run before build though.
Probably ready to send this.
Sick, thanks
Added spotless check to repo. Will check if code is formatted correctly on push and merge.
One can call the
./gradlew spotlessApply
to allow spotless to reformat code automatically. Call./gradlew spotlessCheck
to check if formatting is correct.