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

Loading…
Cancel
Save