io.github.hexay.ktrs.kotlinter
Owner:
Henry Alexander
Drop-in replacement for org.jmailen.kotlinter 5.7.0: same DSL, tasks and reports, linting through ktrs, a native port of ktlint 1.8.0 and 2.0.0-ALPHA-4.
Sources: https://github.com/Hexay/ktrs
Version 0.5.3 (latest)
Created 22 October 2026.
Drop-in replacement for org.jmailen.kotlinter 5.7.0: same DSL, tasks and reports, linting through ktrs, a native port of ktlint 1.8.0 and 2.0.0-ALPHA-4.
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.hexay.ktrs.kotlinter") version "0.5.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("io.github.hexay.ktrs.kotlinter:io.github.hexay.ktrs.kotlinter.gradle.plugin:0.5.3") }It can then be applied in the precompiled script plugin:plugins { id("io.github.hexay.ktrs.kotlinter") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.hexay.ktrs.kotlinter:io.github.hexay.ktrs.kotlinter.gradle.plugin:0.5.3") } } apply(plugin = "io.github.hexay.ktrs.kotlinter") - Applying plugins to all subprojects .