Maven version compiled with class version 54, should be 52 for Java 8 compatibility
+1
This is biting me too. I will have to use OpenJDK 8 for quite a while.
Patch available: https://github.com/greensopinion/gradle-android-eclipse/pull/13
Thanks for the issue. With Java SE being past it's "End of Public Updates" (https://www.oracle.com/technetwork/java/java-se-support-roadmap.html) I didn't realize that this would be an issue for folks. Can anyone indicate why they're stuck with Java 8? It will help me to understand whether it's something that I should be supporting. Thanks.
There is tons of issue reports with Java 9-12. Many have to do with the introduction of the module system and being unable to access classes like Unsafe.
The Android toolchain only supports Java 11 since recently. Yes developers can't upgrade that fast, are stuck still on SDKs that are not yet compatible.
JDK 8 is still the most widely adopted version in the whole world.
Check this JVM Ecosystem Report 2018

At this moment, the JVM Ecosystem Survey 2019 is on. Take Java Ecosystem Survey 2019.
BTW, though Oracle has ended support for OracleJDK8, Red Hat now takes leadership of OpenJDK 8 and OpenJDK 11 from Oracle, so commercial support for OpenJDK 8 will still continue for a long while from Red Hat.
I'm working on this, see https://github.com/greensopinion/gradle-android-eclipse/wiki/2020-experiment