Skip to main content
Version: 1.23.7

Compatibility Table

Detekt Support Commitment

detekt is developed by open-source contributors as a volunteer effort. Due to our limited resources, we commit to support only the latest stable versions and related RC versions.

When opening Issues and Discussions, consider first updating to the latest version and align your tool versions with the one listed below. This allows us to offer you better support.

Tool Versions

When shipping the Detekt Gradle Plugin, we depend on both the Kotlin Gradle Plugin and the Android Gradle Plugin.

Those dependencies are applied as compileOnly (see here) to allow our users to pick the version of the Gradle plugin they prefer and don't impose the one we use inside detekt.

We try to provide backward compatibility when possible, although that's not always trivial (especially with AGP or across minor versions of Kotlin).

The following table lists the version of the Gradle plugin we used to compile the Detekt Gradle Plugin. The Java Target Level entry specifies the level of the generated bytecode (i.e. the -target flag used when generating bytecode). The JDK Version represents the highest version of the JDK we test our code against.

Consider aligning your Gradle plugin versions with the one listed below, as we can offer better support on Issues and Discussions for the listed versions of those tools.

detekt VersionGradle VersionKotlin VersionAGP VersionJava Target LevelJDK Version
1.23.78.102.0.108.5.21.821
1.23.68.71.9.238.3.11.817
1.23.58.51.9.228.2.01.817
1.23.48.41.9.218.1.31.817
1.23.38.41.9.108.1.11.817
1.23.18.2.11.9.08.1.01.817
1.23.08.1.11.8.218.0.11.817
1.22.07.5.11.7.217.3.11.817
1.21.07.51.6.217.2.11.817
1.20.07.4.21.6.207.1.31.817
1.19.07.3.01.5.314.2.21.817
1.18.07.0.11.5.214.2.01.816
1.17.07.0.11.4.324.2.01.815
1.16.06.8.01.4.214.1.21.815
1.15.06.8.01.4.104.0.11.815
1.14.26.7.01.4.104.0.11.814
1.14.06.7-rc-21.4.104.0.11.814
1.13.16.6.11.4.04.0.11.814

(older versions are omitted for brevity)