diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dbb9e081da..09ecd3d7af9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 0.22.7 +* `KSP`: + * `Sealed`: + * Change package of `GenerateSealedWorkaround`. Migration: replace `dev.inmo.microutils.kps.sealed.GenerateSealedWorkaround` -> `dev.inmo.micro_utils.ksp.sealed.GenerateSealedWorkaround` + ## 0.22.6 * `KSP`: diff --git a/ksp/sealed/generator/src/main/kotlin/Processor.kt b/ksp/sealed/generator/src/main/kotlin/Processor.kt index 99196279576..bf716e02840 100644 --- a/ksp/sealed/generator/src/main/kotlin/Processor.kt +++ b/ksp/sealed/generator/src/main/kotlin/Processor.kt @@ -19,7 +19,7 @@ import dev.inmo.micro_ksp.generator.buildSubFileName import dev.inmo.micro_ksp.generator.companion import dev.inmo.micro_ksp.generator.findSubClasses import dev.inmo.micro_ksp.generator.writeFile -import dev.inmo.microutils.kps.sealed.GenerateSealedWorkaround +import dev.inmo.micro_utils.ksp.sealed.GenerateSealedWorkaround import java.io.File class Processor( diff --git a/ksp/sealed/generator/test/src/commonMain/kotlin/Test.kt b/ksp/sealed/generator/test/src/commonMain/kotlin/Test.kt index b88dc45e563..01c9e8e90b4 100644 --- a/ksp/sealed/generator/test/src/commonMain/kotlin/Test.kt +++ b/ksp/sealed/generator/test/src/commonMain/kotlin/Test.kt @@ -1,6 +1,6 @@ package dev.inmo.micro_utils.ksp.sealed.generator.test -import dev.inmo.microutils.kps.sealed.GenerateSealedWorkaround +import dev.inmo.micro_utils.ksp.sealed.GenerateSealedWorkaround @GenerateSealedWorkaround sealed interface Test { diff --git a/ksp/sealed/src/commonMain/kotlin/GenerateSealedWorkaround.kt b/ksp/sealed/src/commonMain/kotlin/GenerateSealedWorkaround.kt index c98eed90d8e..2146dff9346 100644 --- a/ksp/sealed/src/commonMain/kotlin/GenerateSealedWorkaround.kt +++ b/ksp/sealed/src/commonMain/kotlin/GenerateSealedWorkaround.kt @@ -1,4 +1,4 @@ -package dev.inmo.microutils.kps.sealed +package dev.inmo.micro_utils.ksp.sealed @Retention(AnnotationRetention.BINARY) @Target(AnnotationTarget.CLASS) diff --git a/ksp/sealed/src/commonMain/kotlin/OldGenerateSealedWorkaround.kt b/ksp/sealed/src/commonMain/kotlin/OldGenerateSealedWorkaround.kt new file mode 100644 index 00000000000..2a317c5a476 --- /dev/null +++ b/ksp/sealed/src/commonMain/kotlin/OldGenerateSealedWorkaround.kt @@ -0,0 +1,6 @@ +package dev.inmo.microutils.kps.sealed + +import dev.inmo.micro_utils.ksp.sealed.GenerateSealedWorkaround + +@Deprecated("Replaced", ReplaceWith("GenerateSealedWorkaround", "dev.inmo.micro_utils.ksp.sealed.GenerateSealedWorkaround")) +typealias GenerateSealedWorkaround = GenerateSealedWorkaround \ No newline at end of file