ClientAPI icon indicating copy to clipboard operation
ClientAPI copied to clipboard

Add code style formatting

Open LeafHacker opened this issue 8 years ago • 1 comments

Spotless is a cool code formatting util that can be easily integrated into build.gradle and configured for custom code formatting of different file types.

This will be usable as gradle tasks to check and fix formatting. I may also look into adding git hooks so the tasks are run when making a git commit.

LeafHacker avatar Aug 20 '17 14:08 LeafHacker

~~I may consider using checkstyle instead of spotless after some more investigation~~ looks like checkstyle is code analysis not formatting

LeafHacker avatar Sep 06 '17 07:09 LeafHacker