Skip to content

deps: upgrade google-java-format to 1.13.0#1288

Merged
lesv merged 4 commits intomasterfrom
suztomo-patch-1
Nov 29, 2021
Merged

deps: upgrade google-java-format to 1.13.0#1288
lesv merged 4 commits intomasterfrom
suztomo-patch-1

Conversation

@suztomo
Copy link
Copy Markdown
Member

@suztomo suztomo commented Nov 23, 2021

Fixes #1287

googleapis/java-shared-config#361 sets the google-java-format version 1.13.0. Timur already committed the Java version upgrade for the linter. 42a3786

As per @chingor13 , the formatter version was previously pinned to the old formatter because of Java 7 support.

@suztomo suztomo requested a review from a team November 23, 2021 19:02
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 23, 2021
Fixes #1287

google-java-format 1.11.0 is the version used by fmt-maven-plugin 2.12
(latest as of November 2021).
@suztomo
Copy link
Copy Markdown
Member Author

suztomo commented Nov 23, 2021

The minimum supported runtime version is now JDK 11.

https://github.com/google/google-java-format/releases/tag/google-java-format-1.8

@suztomo
Copy link
Copy Markdown
Member Author

suztomo commented Nov 23, 2021

Why did it fail?

@chanseokoh chanseokoh changed the title deps: upgrade google-java-format to 1.11.0 deps: upgrade google-java-format to 1.13.0 Nov 23, 2021
@suztomo
Copy link
Copy Markdown
Member Author

suztomo commented Nov 23, 2021

@chingor13 Would you mind taking over this? I don't have visibility into the failing build log and not familiar with the release process of Owlbot.

@chanseokoh
Copy link
Copy Markdown
Contributor

I don't have access to the build log either, but try updating this test data.

@suztomo
Copy link
Copy Markdown
Member Author

suztomo commented Nov 23, 2021

@chanseokoh Great. Now it passed owlbot-java-presubmit check. Thank you.

@suztomo
Copy link
Copy Markdown
Member Author

suztomo commented Nov 23, 2021

All checks have passed.

@lesv lesv merged commit fdf20ea into master Nov 29, 2021
@lesv lesv deleted the suztomo-patch-1 branch November 29, 2021 17:53
@Neenu1995
Copy link
Copy Markdown
Contributor

This PR is causing owlbot post processor to thrash and fail owlbot check in java client libraries.
The java_format_version need to be updaed in languages/java.py file in synthtool too. This will break existing synthtool libraries. So, this PR is being reverted until all libraries are migrated to owlbot.

Neenu1995 added a commit that referenced this pull request Nov 29, 2021
lesv pushed a commit that referenced this pull request Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Owlbot should use a newer version of google-java-format

4 participants