Get the Code
Read moreWhat Java version does Gradle use?
Gradle can only run on Java version 8 or higher . Gradle still supports compiling, testing, generating Javadoc and executing applications for Java 6 and Java 7. Java 5 and below are not supported.
Read moreHow do I set Java version in build Gradle?
Right click on the deploy or any other task and select “Open Gradle Run Configuration…” Then navigate to “Java Home ” and paste your desired java path.
Read moreDoes Gradle support Java 11?
> Android Gradle plugin requires Java 11 to run .
Read moreWhat is Gradle toolchain?
Additionally, you may want to build a project using a Java version that is not supported for running Gradle. A Java Toolchain (from now on referred to simply as toolchain) is a set of tools, usually taken from a local JRE/JDK installation that are used to configure different aspects of a build .
Read more