Does Gradle work with Java?

Gradle runs on the JVM and you must have a Java Development Kit (JDK) installed to use it . This is a bonus for users familiar with the Java platform as you can use the standard Java APIs in your build logic, such as custom task types and plugins. It also makes it easy to run Gradle on different platforms.

Read more

Does Gradle work with Java 17?

Gradle now supports running on and building with Java 17 . In previous Gradle versions, running Gradle itself on Java 17 resulted in an error. JVM projects could have been built with Java 17 using toolchains. As of Gradle 7.3, both running Gradle itself and building JVM projects with Java 17 is fully supported.

Read more