# Compatibility Matrix

The sections below describe Gradle’s compatibility with several integrations. Other versions not listed here may or may not work.
version 7.4.1

## Java

A Java version between 8 and 17 is required to execute Gradle. Java 18 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.

For older Gradle versions, please see the table below which Java version is supported by which Gradle release.

Table 1. Java Compatibility
Java version | First Gradle version to support it
8 | 2.0
9 | 4.3
10 | 4.7
11 | 5.0
12 | 5.4
13 | 6.0
14 | 6.3
15 | 6.7
16 | 7.0
17 | 7.3

## Kotlin

Gradle is tested with Kotlin 1.3.72 through 1.6.0.

Gradle plugins written in Kotlin target Kotlin 1.4 for compatibility with Gradle and Kotlin DSL build scripts, even though the embedded Kotlin runtime is Kotlin 1.5.

## Groovy

Gradle is tested with Groovy 1.5.8 through 3.0.9.

Gradle plugins written in Groovy must use Groovy 3.x for compatibility with Gradle and Groovy DSL build scripts.

## Android

Gradle is tested with Android Gradle Plugin 4.1, 4.2, 7.0 and 7.1. Alpha and beta versions may or may not work.