Owner:
Javier Segovia Córdoba
A compiler plugin to improve how to copy data classes with a nice DSL in Kotlin.
Version 0.20.2+2.2.21 (latest)
Created 06 November 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.20.2+2.2.21"
}
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.20.2+2.2.21") }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.20.2+2.2.21") } } apply(plugin = "com.javiersc.kotlin.kopy") - Applying plugins to all subprojects .