-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* support wasmJs and wasmWasi targets. * atomicfu-gradle-plugin does not transform wasm targets, and just provides an implementation dependency to the library. * tested application of the plugin to the mpp project with both wasm targets. --------- Co-authored-by: Svyatoslav Kuzmich <svyatoslav.kuzmich@jetbrains.com> Co-authored-by: Margarita Bobova <margarita.bobova@jetbrains.com> Co-authored-by: mvicsokolova <maria.sokolova@jetbrains.com> Co-authored-by: mvicsokolova <82594708+mvicsokolova@users.noreply.github.com> Co-authored-by: Filipp Zhinkin <filipp.zhinkin@gmail.com>
- Loading branch information
1 parent
9d2a3e4
commit 5fe6c0d
Showing
18 changed files
with
170 additions
and
109 deletions.
There are no files selected for viewing
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
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
2 changes: 1 addition & 1 deletion
2
atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/MangledJsNames.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
17 changes: 17 additions & 0 deletions
17
atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/OptionalJsName.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,17 @@ | ||
package kotlinx.atomicfu | ||
|
||
/** | ||
* This annotation actualized with JsName in JS platform and not actualized in others. | ||
*/ | ||
@OptIn(ExperimentalMultiplatform::class) | ||
@OptionalExpectation | ||
@Retention(AnnotationRetention.BINARY) | ||
@Target( | ||
AnnotationTarget.CLASS, | ||
AnnotationTarget.FUNCTION, | ||
AnnotationTarget.PROPERTY, | ||
AnnotationTarget.CONSTRUCTOR, | ||
AnnotationTarget.PROPERTY_GETTER, | ||
AnnotationTarget.PROPERTY_SETTER | ||
) | ||
expect annotation class OptionalJsName(val name: String) |
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
Oops, something went wrong.