io.gitlab.arturbosch.detekt
Owner: Artur Bosch
Static code analysis for Kotlin
Sources: https://github.com/arturbosch/detekt
Using the plugins DSL:
plugins {
id("io.gitlab.arturbosch.detekt") version "1.0.0-RC15"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.0.0-RC15")
}
}
apply(plugin = "io.gitlab.arturbosch.detekt")
Using the plugins DSL:
plugins {
id "io.gitlab.arturbosch.detekt" version "1.0.0-RC15"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.0.0-RC15"
}
}
apply plugin: "io.gitlab.arturbosch.detekt"