Skip to content
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

Merged
merged 6 commits into from
Nov 11, 2020
Merged

Update spotless to 5.7.0 #1534

merged 6 commits into from
Nov 11, 2020

Conversation

fawind
Copy link
Contributor

@fawind fawind commented Nov 5, 2020

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)

@changelog-app
Copy link

changelog-app bot commented Nov 5, 2020

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Update spotless to 5.7.0

Check the box to generate changelog(s)

  • Generate changelog entry

@fawind fawind changed the title WIP: Update spotless to 5.7.0 Update spotless to 5.7.0 Nov 9, 2020
@fawind fawind marked this pull request as ready for review November 9, 2020 23:56
@policy-bot policy-bot bot requested a review from CRogers November 9, 2020 23:56
@fawind fawind requested review from ferozco and removed request for CRogers November 9, 2020 23:56
@@ -4,9 +4,10 @@
/**
* Docstring that looks like a list:
*
* <p>1. hey 2. there
* 1. hey
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did this change?

Copy link
Contributor Author

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

@bulldozer-bot bulldozer-bot bot merged commit 958e339 into develop Nov 11, 2020
@bulldozer-bot bulldozer-bot bot deleted the fw/update-spotless branch November 11, 2020 15:35
@svc-autorelease
Copy link
Collaborator

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
Copy link
Contributor

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 :)

Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants