dev.detekt.gradle.compiler-plugin
Owner:
Nicola Corti
Static code analysis for Kotlin - Compiler Plugin
Sources: https://github.com/detekt/detekt
Version 2.0.0-alpha.1 (latest)
Created 21 October 2025.
Static code analysis for Kotlin v2 - Compiler Plugin
Add this plugin to your build using the plugins DSL:
plugins {
id("dev.detekt.gradle.compiler-plugin") version "2.0.0-alpha.1"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("dev.detekt.gradle.compiler-plugin:dev.detekt.gradle.compiler-plugin.gradle.plugin:2.0.0-alpha.1") }It can then be applied in the precompiled script plugin:plugins { id("dev.detekt.gradle.compiler-plugin") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("dev.detekt.gradle.compiler-plugin:dev.detekt.gradle.compiler-plugin.gradle.plugin:2.0.0-alpha.1") } } apply(plugin = "dev.detekt.gradle.compiler-plugin") - Applying plugins to all subprojects .