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.

Using the plugins DSL:

plugins {
  id("me.shika.kotlin-object-java-serialization") version "1.4.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("me.shika:kotlin-object-java-serialization:1.4.2")
  }
}

apply(plugin = "me.shika.kotlin-object-java-serialization")

Using the plugins DSL:

plugins {
  id "me.shika.kotlin-object-java-serialization" version "1.4.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "me.shika:kotlin-object-java-serialization:1.4.2"
  }
}

apply plugin: "me.shika.kotlin-object-java-serialization"

Learn how to apply plugins to subprojects