gradle-macappbundle
gradle-macappbundle copied to clipboard
Java 11 JRE's from adoptopenjdk are not supported
The task createBundleJRETask ends up copying into the bundle nothing, as the directories are all excluded. For example, there is no longer a JRE directory (which is what is included in the task). Perhaps some logic that looks into the Info.plist of the 'JRE' to determine its type and what needs to get copied over.
The JRE is downloaded via an API at https://api.adoptopenjdk.net/v2/binary/nightly/openjdk11?openjdk_impl=hotspot&os=mac&arch=x64&release=latest&type=jre
This isn't limited to adoptopenjdk. It is Java 11 in general. For example, Amazon Corretto's JDK 8 works but JDK 11 doesn't since there isn't a jre directory in Java 11.