me.shika.kotlin-object-java-serialization
Owner: Andrei Shikov
Solves the problem of Kotlin object being having different instance after deserialization using built-in Java serialization.
https://github.com/ShikaSD/kotlin-object-serialization-fix
Sources: https://github.com/ShikaSD/kotlin-object-serialization-fix.git
Version 1.5.1 (latest)
Created 11 January 2025.
Solves the problem of Kotlin object being having different instance after deserialization using built-in Java serialization.
Add this plugin to your build using the plugins DSL:
plugins {
id("me.shika.kotlin-object-java-serialization") version "1.5.1"
}
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("me.shika.kotlin-object-java-serialization:me.shika.kotlin-object-java-serialization.gradle.plugin:1.5.1") }
It can then be applied in the precompiled script plugin:plugins { id("me.shika.kotlin-object-java-serialization") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("me.shika.kotlin-object-java-serialization:me.shika.kotlin-object-java-serialization.gradle.plugin:1.5.1") } } apply(plugin = "me.shika.kotlin-object-java-serialization")
- Applying plugins to all subprojects .