io.github.hexay.ktrs
Owner:
Henry Alexander
Drop-in replacement for com.ncorti.ktfmt.gradle: same DSL and tasks, formatting through ktrs, a native port of ktfmt 0.64 with byte-identical output.
Sources: https://github.com/Hexay/ktrs
Version 0.5.0 (latest)
Created 07 October 2026.
Drop-in replacement for com.ncorti.ktfmt.gradle: same DSL and tasks, formatting through ktrs, a native port of ktfmt 0.64 with byte-identical output.
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.hexay.ktrs") version "0.5.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("io.github.hexay.ktrs:io.github.hexay.ktrs.gradle.plugin:0.5.0") }It can then be applied in the precompiled script plugin:plugins { id("io.github.hexay.ktrs") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.hexay.ktrs:io.github.hexay.ktrs.gradle.plugin:0.5.0") } } apply(plugin = "io.github.hexay.ktrs") - Applying plugins to all subprojects .