Java Version Update?
Another quick post as things here are extremely busy at the moment. Gradle 9.8.0 now supports Java 27 but should you use that - for everything? No. It wouldn't even work if you tried. I previously concluded 17 was likely the best/safest choice for most projects, but now I think 21 might be a better choice unless you are building a library. 21 in a library would force anyone using your library to target 21 as well. Another reason not to move up to 21 would be legacy dependencies. If you are using old libraries as they may not be compatible. I think Java 21 is likely the best option for the full toolchain and build in most cases. My post from January this year - Android - Java Version covers the subject in some detail. The Official Android Page specifies a build target of Java 17 . I believe this is for compatibility reasons and that makes a lot of sense. So Java 27... While you can't target Java 27 for Android app bytecode (Kotlin and D8/R8...