Owner:
Aaron Freeman
Runs the code generation process for KTML as part of your build
https://github.com/ktool-dev/ktml/blob/main/integrations/gradle
Sources: https://github.com/ktool-dev/ktml
Version 0.1.11 (latest)
Created 10 December 2025.
Runs the code generation process for KTML as part of your build
Add this plugin to your build using the plugins DSL:
plugins {
id("dev.ktml.gradle") version "0.1.11"
}
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("dev.ktml.gradle:dev.ktml.gradle.gradle.plugin:0.1.11") }It can then be applied in the precompiled script plugin:plugins { id("dev.ktml.gradle") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("dev.ktml.gradle:dev.ktml.gradle.gradle.plugin:0.1.11") } } apply(plugin = "dev.ktml.gradle") - Applying plugins to all subprojects .