gapic-generator-java
gapic-generator-java copied to clipboard
chore(format): update google-java-format to 1.25.2 via java-shared-config update
NOTE: Do not review this. There are too many files and I'm confirming the setup works and will then temporarily revert the format changes for reviewers to only show the CI and pom.xml related changes only.
This replaces https://github.com/googleapis/sdk-platform-java/pull/3724 in order to manually prepare the repo for this update. The preparation includes:
- Update google-cloud-shared-config to
1.15.1. - Configure pom.xml files to reference the
fmtplugin using thecom.spotify.fmtgroupId instead ofcom.coveo. The group ID in since 2022. Some pom.xml explicitly referenced the2.9.1version, but I removed it so it's controlled by google-cloud-shared-config. - Update our
ci.yamlto either run themvntasks using java 17 or running the task with the-Dfmt.skipflag. - Update
java_compatibility_check.yamlfrom java 11 to java 17. - Update our docker image to use java 17 instead of 11.
- Format the codebase using
mvn fmt:format.
Quality Gate failed for 'gapic-generator-java-root'
Failed conditions
3.0% Coverage on New Code (required ≥ 80%)
30.5% Duplication on New Code (required ≤ 3%)
Quality Gate failed for 'java_showcase_integration_tests'
Failed conditions
61.4% Coverage on New Code (required ≥ 80%)