org.jlleitschuh.gradle.ktlint-idea
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 11.6.1 (latest)
Created 10 October 2023.
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-idea") version "11.6.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-idea:org.jlleitschuh.gradle.ktlint-idea.gradle.plugin:11.6.1") }
It can then be applied in the precompiled script plugin:plugins { id("org.jlleitschuh.gradle.ktlint-idea") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("org.jlleitschuh.gradle.ktlint-idea:org.jlleitschuh.gradle.ktlint-idea.gradle.plugin:11.6.1") } } apply(plugin = "org.jlleitschuh.gradle.ktlint-idea")
- Applying plugins to all subprojects .