A Java version between 8 and 15 is required to execute Gradle. Java 16 and later versions are not yet supported.
Java 6 and 7 can still be used for compilation and forked test execution.
Any supported version of Java can be used for compile or test.
Gradle is tested with Kotlin 1.3.21 through 1.4.20.
Gradle is tested with Groovy 1.5.8 through 2.5.12.
Gradle is tested with Android Gradle Plugin 3.4, 3.5, 3.6, 4.0, 4.1 and 4.2. Alpha and beta versions may or may not work.