Search Gradle plugins

Version 0.1.5

0.1.5

Created 26 March 2018.

Gradle Kotlin DSL ktlint convention plugin (experimental)

Using the plugins DSL:

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

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.5")
  }
}

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

Using the plugins DSL:

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

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.5"
  }
}

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

Learn how to apply plugins to subprojects