Browse Source

Relocate serialization (#3607)

Resolves #3479
pull/3608/head
Alexey Tsvetkov 1 year ago committed by GitHub
parent
commit
847a214c4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      gradle-plugins/compose/build.gradle.kts

8
gradle-plugins/compose/build.gradle.kts

@ -71,10 +71,12 @@ dependencies {
embedded(project(":jdk-version-probe"))
}
val packagesToRelocate = listOf("de.undercouch", "kotlinx.serialization")
val shadow = tasks.named<ShadowJar>("shadowJar") {
val fromPackage = "de.undercouch"
val toPackage = "org.jetbrains.compose.$fromPackage"
relocate(fromPackage, toPackage)
for (packageToRelocate in packagesToRelocate) {
relocate(packageToRelocate, "org.jetbrains.compose.internal.$packageToRelocate")
}
archiveBaseName.set("shadow")
archiveClassifier.set("")
archiveVersion.set("")

Loading…
Cancel
Save