replace GenerateSealedWorkaround

This commit is contained in:
InsanusMokrassar 2024-10-19 13:44:37 +06:00
parent b9a2653066
commit 4625dfb857
5 changed files with 13 additions and 3 deletions

View File

@ -2,6 +2,10 @@
## 0.22.7 ## 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 ## 0.22.6
* `KSP`: * `KSP`:

View File

@ -19,7 +19,7 @@ import dev.inmo.micro_ksp.generator.buildSubFileName
import dev.inmo.micro_ksp.generator.companion import dev.inmo.micro_ksp.generator.companion
import dev.inmo.micro_ksp.generator.findSubClasses import dev.inmo.micro_ksp.generator.findSubClasses
import dev.inmo.micro_ksp.generator.writeFile 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 import java.io.File
class Processor( class Processor(

View File

@ -1,6 +1,6 @@
package dev.inmo.micro_utils.ksp.sealed.generator.test 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 @GenerateSealedWorkaround
sealed interface Test { sealed interface Test {

View File

@ -1,4 +1,4 @@
package dev.inmo.microutils.kps.sealed package dev.inmo.micro_utils.ksp.sealed
@Retention(AnnotationRetention.BINARY) @Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS) @Target(AnnotationTarget.CLASS)

View File

@ -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