-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
ExperimentalUpdateGenerator
to GenerateUpdate
annotation
- Loading branch information
1 parent
90f274b
commit bf85066
Showing
6 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
mobiuskt-update-generator-api/api/mobiuskt-update-generator-api.api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
public abstract interface annotation class kt/mobius/gen/ExperimentalUpdateGenerator : java/lang/annotation/Annotation { | ||
} | ||
|
||
public abstract interface annotation class kt/mobius/gen/GenerateUpdate : java/lang/annotation/Annotation { | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,6 @@ kotlin { | |
browser() | ||
} | ||
|
||
@Suppress("UNUSED_VARIABLE") | ||
sourceSets { | ||
all { | ||
explicitApi() | ||
|
4 changes: 4 additions & 0 deletions
4
mobiuskt-update-generator-api/src/commonMain/kotlin/ExperimentalUpdateGenerator.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package kt.mobius.gen | ||
|
||
@RequiresOptIn(level = RequiresOptIn.Level.WARNING) | ||
public annotation class ExperimentalUpdateGenerator |
1 change: 1 addition & 0 deletions
1
mobiuskt-update-generator-api/src/commonMain/kotlin/GenerateUpdate.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package kt.mobius.gen | ||
|
||
@ExperimentalUpdateGenerator | ||
@Target(AnnotationTarget.CLASS) | ||
@Retention(AnnotationRetention.SOURCE) | ||
public annotation class GenerateUpdate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters