-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update spotless to 5.7.0 #1534
Update spotless to 5.7.0 #1534
Conversation
Generate changelog in
|
gradle-baseline-java/src/test/groovy/com/palantir/baseline/BaselineFormatIntegrationTest.groovy
Outdated
Show resolved
Hide resolved
@@ -4,9 +4,10 @@ | |||
/** | |||
* Docstring that looks like a list: | |||
* | |||
* <p>1. hey 2. there | |||
* 1. hey |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We bumped the version of palantir-java-formatter that we use in tests from 0.3.9 to 1.1.0 which added some changes to how the formatted output looks:
https://github.com/palantir/gradle-baseline/pull/1534/files#diff-c2c619cc6bd6031ee10ada015c7ba9b841732e59d0a05d2a7408ebb0c02501e9L37-R37
Released 3.49.0 |
@@ -1,4 +1,4 @@ | |||
com.diffplug.spotless:spotless-plugin-gradle = 4.4.0 | |||
com.diffplug.spotless:spotless-plugin-gradle = 5.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
confirmed this is in managed-artifacts.txt :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, this excavator also tries to upgrade it but the tests fail because of the breaking changes: 286964e#diff-c2c619cc6bd6031ee10ada015c7ba9b841732e59d0a05d2a7408ebb0c02501e9L1-R1
After this PR
Update spotless to newest version as part of picking up support for new java syntax features. This PR works in combination with updating spotless in palantir-java-format: palantir/palantir-java-format#358.
==COMMIT_MSG==
Update spotless to 5.7.0
==COMMIT_MSG==
Possible downsides?
Minimum Gradle version required by spotless also gets bumped from 2.14 to 5.4 (source)