Owner:
Javier Segovia Córdoba
A compiler plugin to improve how to copy data classes with a nice DSL in Kotlin.
Version 0.18.0+2.2.10
Created 17 August 2025.
A compiler plugin to improve how to copy data classes with a nice DSL in Kotlin.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.javiersc.kotlin.kopy") version "0.18.0+2.2.10"
}
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("com.javiersc.kotlin.kopy:com.javiersc.kotlin.kopy.gradle.plugin:0.18.0+2.2.10") }It can then be applied in the precompiled script plugin:plugins { id("com.javiersc.kotlin.kopy") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.javiersc.kotlin.kopy:com.javiersc.kotlin.kopy.gradle.plugin:0.18.0+2.2.10") } } apply(plugin = "com.javiersc.kotlin.kopy") - Applying plugins to all subprojects .