Search Gradle plugins

org.gradle.kotlin.ktlint-convention

Gradle Kotlin DSL ktlint convention plugin (experimental)

https://github.com/gradle/kotlin-dsl

Version 0.1.15 (latest)

Created 06 September 2018.

Gradle Kotlin DSL ktlint convention plugin (experimental)

Using the plugins DSL:

plugins {
  id "org.gradle.kotlin.ktlint-convention" version "0.1.15"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.gradle.kotlin:gradle-kotlin-dsl-plugins-experiments:0.1.15"
  }
}

apply plugin: "org.gradle.kotlin.ktlint-convention"

Using the plugins DSL:

plugins {
  id("org.gradle.kotlin.ktlint-convention") version "0.1.15"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.gradle.kotlin:gradle-kotlin-dsl-plugins-experiments:0.1.15")
  }
}

apply(plugin = "org.gradle.kotlin.ktlint-convention")

Learn how to apply plugins to subprojects