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.1.0

1.1.0

Created 20 July 2021.

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects