How to tell Appflow to use Java 11 instead of 1.8? (Build Error)

Hello,

please see the following message:

Appflow can’t detect the gradle plugin version and uses java 1.8 instead of 11. Because of this reason, the build isn’t working. Full Error Message:

> Task :capacitor-android:compileReleaseJavaWithJavac
An exception has occurred in the compiler (1.8.0_312). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.AssertionError: annotationType(): unrecognized Attribute name MODULE (class com.sun.tools.javac.util.UnsharedNameTable$NameImpl)

What can I do to make Appflow recognizing the gradle plugin version and use Java 11?

Regards,
Marius