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

Version 1.0.1 (latest)

Created 31 December 2019.

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects