Closed syoon2 closed 1 year ago
Superseded by #383.
Superseded by #383.
@syoon2 Looking at this change now, wouldn't Spotless be a better solution since the java formatting tool is unmaintained? Moving up to Java 11 seems Okay to me
Ignore my last comment, I just saw the new PR incorporates Spotless + Java 11
https://github.com/williamfiset/Algorithms/blob/09a4f3b6f39d84879a8dc05d438a0f78234249b0/build.gradle#L16-L17
The old formatting tool is no longer maintained, as mentioned by the author of the tool (see above). Thus, this PR proposes restoring the formatting check by migrating to Spotless for Gradle.
Unfortunate side effect: because Spotless for Gradle requires JDK 11+, the JDK version this repository is targeting (or equivalently, the JDK version used in CI) needs to be bumped up from JDK 8 to JDK 11+; see 28e7a1b (part of the reason this PR was a draft). @williamfiset any thoughts?