CircleCI-Public / cimg-android

The CircleCI Android Docker Convenience Image.
MIT License
72 stars 37 forks source link

Any reason why JDK 11 isn't anymore part of the latest cimg/android? #83

Closed ahibrahimleague closed 1 year ago

ahibrahimleague commented 1 year ago

The question as the title, any reason why the cimg/android does install JDK 8 and 17 but ignores 11 (I guess it's even LTS)?

We have a use case in the Android Gradle Plugin 8.0.0 that requires JDK 17 to run; however, due to some dependencies on a tool that we use, it has some incompatibilities with JDK 17 so we'd like to continue running the tasks relevant to this tool under JDK 11.

I guess we could use apt-get install to download the JDK 11, but it would be nice to provide this Java version out of the box through the docker image.

ryanbourdais commented 1 year ago

Hi @ahibrahimleague, we made the switch from Java 11 to 17 in the march release. This move was made to supply the latest 2 LTS versions with as much backwards compatibility as possible and prevent the image from becoming bloated. You should be able to install JDK 11 using apt-get install, if you need to switch the current active java version from 17 to 11 you can use the change-java-version command.

ryanbourdais commented 1 year ago

Closing this issue as it has gone stale.