You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need some source formatting tool, maybe similarly implemented as in Maven (starting with 3.9+), using spotless, where check is part of build, and users case just apply before commit.
The text was updated successfully, but these errors were encountered:
Pretty much same scheme as in Maven project:
* check runs in build and will fail it if not properly formatted
* mvn spotless:apply to format (or -P format)
Fixes#13
Due spotless plugin (does not run on Java8) the "build time Java requirement" raises to Java 11, but IMHO this is not a problem as we already build most of the projects with it.
---
Applying this parent in project will need 3 steps:
* PR to change parent version (build will fail due formatting)
* subsequent commit where developer runs `mvn spotless:apply` and pushes (build will pass)
* subsequent commit to repository root into file `.git-blame-ignore-revs` with commit hash from 2nd commit
We need some source formatting tool, maybe similarly implemented as in Maven (starting with 3.9+), using spotless, where check is part of build, and users case just apply before commit.
The text was updated successfully, but these errors were encountered: