org.jmailen.kotlinter
Owner: Jeremy Mailen
Linting and formatting for Kotlin source code using ktlint
https://github.com/jeremymailen/kotlinter-gradle
Sources: https://github.com/jeremymailen/kotlinter
Version 3.9.0
Created 22 February 2022.
Lint and formatting for Kotlin using ktlint with configuration-free setup on JVM and Android projects
Add this plugin to your build using the plugins DSL:
plugins {
id("org.jmailen.kotlinter") version "3.9.0"
}
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.jmailen.kotlinter:org.jmailen.kotlinter.gradle.plugin:3.9.0") }
It can then be applied in the precompiled script plugin:plugins { id("org.jmailen.kotlinter") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("org.jmailen.kotlinter:org.jmailen.kotlinter.gradle.plugin:3.9.0") } } apply(plugin = "org.jmailen.kotlinter")
- Applying plugins to all subprojects .