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 JDK version to 17 #8

Merged
merged 2 commits into from
Jul 25, 2023
Merged

Update JDK version to 17 #8

merged 2 commits into from
Jul 25, 2023

Conversation

oguzkocer
Copy link
Contributor

@oguzkocer oguzkocer commented Jul 25, 2023

This PR adds support for JDK 17 by rebuilding the image. There was no extra action needed for this as I think it's covered by one of the apt-get packages. Note that this removes support for JDK 11, but since this Docker image is only used for gutenberg-mobile, we shouldn't need it. I believe our long term plan is to deprecate this image entirely, so I don't think it's worth spending the extra time to support multiple JDK versions.

I've updated the Android build tools to 33 (current) & 34 (upcoming) and uninstalled 29 so that builds won't complain about it being installed in an incorrect location which I think is related to the apt-get package installations. I've also updated the cached Gradle version to 8.2.1.

To Test

I've updated gutenberg-mobile to use this image in wordpress-mobile/gutenberg-mobile#5993 and verified that the CI is green. Prior to this change, the builds were failing due to the missing JDK 17 in wordpress-mobile/gutenberg-mobile#5989. So, no testing is necessary.

@oguzkocer oguzkocer marked this pull request as ready for review July 25, 2023 19:43
@oguzkocer oguzkocer requested a review from a team July 25, 2023 19:46
@oguzkocer oguzkocer merged commit 95331f6 into trunk Jul 25, 2023
@oguzkocer oguzkocer deleted the add/jdk-17-support branch July 25, 2023 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants