org.jlleitschuh.gradle.ktlint
Owner: Jonathan Leitschuh
Provides a convenient wrapper plugin over the ktlint project.
https://github.com/JLLeitschuh/ktlint-gradle
Sources: https://github.com/JLLeitschuh/ktlint-gradle
Version 6.2.1
Created 30 October 2018.
Provides a convenient wrapper plugin over the ktlint project.
Add this plugin to your build using the plugins DSL:
plugins {
id("org.jlleitschuh.gradle.ktlint") version "6.2.1"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("org.jlleitschuh.gradle.ktlint:org.jlleitschuh.gradle.ktlint.gradle.plugin:6.2.1") }
It can then be applied in the precompiled script plugin:plugins { id("org.jlleitschuh.gradle.ktlint") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("org.jlleitschuh.gradle.ktlint:org.jlleitschuh.gradle.ktlint.gradle.plugin:6.2.1") } } apply(plugin = "org.jlleitschuh.gradle.ktlint")
- Applying plugins to all subprojects .