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 2.1.3
Created 19 November 2019.
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 "2.1.3"
}
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:2.1.3") }
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:2.1.3") } } apply(plugin = "org.jmailen.kotlinter")
- Applying plugins to all subprojects .