Skip to content

ci: release=8 for JDK 9+#478

Merged
suztomo merged 2 commits intogoogleapis:mainfrom
suztomo:release-8-profile
Jun 10, 2022
Merged

ci: release=8 for JDK 9+#478
suztomo merged 2 commits intogoogleapis:mainfrom
suztomo:release-8-profile

Conversation

@suztomo
Copy link
Copy Markdown
Member

@suztomo suztomo commented Jun 3, 2022

Fixes #477 . Document: https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-release.html

Having this in the shared config, we can remove the one defined in java-spanner https://github.com/googleapis/java-spanner/blob/a3d08c8e20273cc5e70775933fad1151e0d3a50f/pom.xml#L228. Other libraries will generate Java 8-compatible bytecode when compiling with JDK 11.

Also removing "dependencies (8)" check from this repository.

BEGIN_COMMIT_OVERRIDE
feat: to produce Java 8 compatible bytecode when using JDK 9+
END_COMMIT_OVERRIDE

@suztomo suztomo requested a review from a team June 3, 2022 20:09
@product-auto-label product-auto-label Bot added the size: s Pull request size is small. label Jun 3, 2022
@suztomo
Copy link
Copy Markdown
Member Author

suztomo commented Jun 3, 2022

Let's remove "dependencies (8)". #479

@suztomo suztomo force-pushed the release-8-profile branch from d648c9d to fe41b18 Compare June 10, 2022 19:52
@suztomo suztomo force-pushed the release-8-profile branch from fe41b18 to 0dba226 Compare June 10, 2022 19:56
@generated-files-bot
Copy link
Copy Markdown

Warning: This pull request is touching the following templated files:

  • .github/sync-repo-settings.yaml

requiresStrictStatusChecks: false
# List of required status check contexts that must pass for commits to be accepted to matching branches.
requiredStatusCheckContexts:
- "dependencies (8)"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is a followup of #479

@suztomo suztomo requested a review from Neenu1995 June 10, 2022 20:07
@suztomo suztomo merged commit 2468276 into googleapis:main Jun 10, 2022
@suztomo suztomo deleted the release-8-profile branch June 10, 2022 20:12
@suztomo suztomo added the release-please:force-run To run release-please label Jun 10, 2022
@release-please release-please Bot removed the release-please:force-run To run release-please label Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

profile for Java release 8 compiler option

2 participants