Search Gradle plugins

Version 0.10.0 (latest)

0.10.0

Created 28 August 2024.

Lint and formatting for Kotlin using ktlint with configuration-free setup on JVM and Android projects

Using the plugins DSL:

plugins {
  id("io.github.usefulness.ktlint-gradle-plugin") version "0.10.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.usefulness:ktlint-gradle-plugin:0.10.0")
  }
}

apply(plugin = "io.github.usefulness.ktlint-gradle-plugin")

Using the plugins DSL:

plugins {
  id "io.github.usefulness.ktlint-gradle-plugin" version "0.10.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.usefulness:ktlint-gradle-plugin:0.10.0"
  }
}

apply plugin: "io.github.usefulness.ktlint-gradle-plugin"

Learn how to apply plugins to subprojects