Search Gradle plugins

me.shika.kotlin-object-java-serialization

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.4.2 (latest)

1.4.2

Created 12 April 2023.

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.4.2"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("me.shika:kotlin-object-java-serialization:1.4.2")
      }
    }
    
    apply(plugin = "me.shika.kotlin-object-java-serialization")
  • Applying plugins to all subprojects .