Search Gradle plugins

name.remal.detekt

Plugin that executes Detekt checks for Kotlin sources. Min Gradle version: 4.5.

https://remal.gitlab.io/gradle-plugins/plugins/name.remal.detekt/

Sources: https://gitlab.com/remal/gradle-plugins.git

Using the plugins DSL:

plugins {
  id("name.remal.detekt") version "1.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("name.remal:gradle-plugins:1.5.0")
  }
}

apply(plugin = "name.remal.detekt")

Using the plugins DSL:

plugins {
  id "name.remal.detekt" version "1.5.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "name.remal:gradle-plugins:1.5.0"
  }
}

apply plugin: "name.remal.detekt"

Learn how to apply plugins to subprojects