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 1.0.3-SNAPSHOT
Created 19 May 2017.
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 "1.0.3-SNAPSHOT"
}
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:1.0.3-SNAPSHOT") }
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:1.0.3-SNAPSHOT") } } apply(plugin = "org.jlleitschuh.gradle.ktlint")
- Applying plugins to all subprojects .