Skip to content

Commit

Permalink
chore: change spotless base format to Palantir plugin (#312)
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Sinclair <[email protected]>
  • Loading branch information
jsync-swirlds authored Oct 25, 2024
1 parent 446103e commit d829247
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ spotless {
// Enables the spotless:on and spotless:off comments
toggleOffOn()
// don't need to set target, it is inferred from java
// apply a specific flavor of google-java-format
// also reflow long strings, and do not format javadoc
// because the default setup is _very_ bad for javadoc
// We need to figure out a "correct" _separate_ setup for that.
googleJavaFormat("1.17.0").aosp().reflowLongStrings().formatJavadoc(false)
// Fix some left-out items from the google plugin
// apply a specific flavor of palantir-java-format
// and do not format javadoc because the default setup
// is _very_ bad for javadoc. We need to figure out a
// "correct" _separate_ setup for that.
palantirJavaFormat("2.50.0").formatJavadoc(false)
// Fix some left-out items from the palantir plugin
indentWithSpaces(4)
trimTrailingWhitespace()
endWithNewline()
Expand Down

0 comments on commit d829247

Please sign in to comment.