4) Android builds are entirely broken with OpenJDK 11. Apparently, you'd be forced to upgrade Android Gradle plugin to at least 3.1.0 to be compatible to OpenJDK 11. Ubuntu/Debian still has version 2.2.2 [1]!
But even if you upgrade to 3.1.0 manually (bypassing apt), you'd break reproducable builds. Versions 3.1 to 3.4 are dependent on file system sort order. According to Google, that bug has recently been fixed in 3.5 [2] and will be backported to 3.4, but anyway these versions require newer Gradle versions that have yet to appear in Ubuntu/Debian. So we have a dependency deadlock that is currently unresolvable. [1] https://packages.ubuntu.com/search?keywords=libgradle-android-plugin-java&searchon=names [2] https://issuetracker.google.com/issues/110237303 ** Bug watch added: issuetracker.google.com/issues #110237303 https://issuetracker.google.com/issues/110237303 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1814133 Title: update to openjdk 11 in 18.04 LTS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1814133/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs