r/android_devs • u/IgorEscodro • Dec 04 '20
Coding PSA: Android Gradle Plugin 7.0 will require Java 11
If you are using Java 8 to compile your app, starting from Android Gradle Plugin 7.0 (the next one after 4.2) Java 11 will be required. This change will make effect in Android Studio 2020.3.1 Arctic Fox (currently in Canary and the next one after 4.2).
With AGP 7.0.0-alpha01 we are changing the minimum required Java programming language version to Java 11. We are announcing this early in the Canary schedule and many months ahead of the stable release to allow developers time to get ready.
If you have pipelines running in Java 8, maybe it is a good idea to start migrating it to Java 11 now so the transition can be smoother.
For more information:
https://android-developers.googleblog.com/2020/12/announcing-android-gradle-plugin.html
https://android-developers.googleblog.com/2020/12/announcing-android-studio-arctic-fox.html
0
Dec 04 '20
[deleted]
1
u/Fmatosqg Dec 05 '20
I believe it's compile. There's a number of issues in build tools waiting for Java 11 to be fixed.
4
u/Zhuinden EpicPandaForce @ SO Dec 04 '20
I kinda hope they'll let me use the JDK bundled with AS...