What is Gradle Java plugin?

The Java plugin adds Java compilation along with testing and bundling capabilities to a project . It serves as the basis for many of the other JVM language Gradle plugins. You can find a comprehensive introduction and overview to the Java Plugin in the Building Java Projects chapter.

Read more

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