File tree Expand file tree Collapse file tree 1 file changed +6
-21
lines changed Expand file tree Collapse file tree 1 file changed +6
-21
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ plugins {
7
7
alias(libs.plugins.compose.multiplatform)
8
8
alias(libs.plugins.compose.compiler)
9
9
alias(libs.plugins.android.library)
10
- alias(libs.plugins.dokka)
11
10
alias(libs.plugins.maven.publish)
11
+ alias(libs.plugins.dokka)
12
12
}
13
13
14
14
group = " ir.mahozad.multiplatform"
@@ -17,27 +17,12 @@ version = "2.1.0-rc"
17
17
kotlin {
18
18
androidTarget { publishLibraryVariants(" release" ) }
19
19
jvm(name = " desktop" ) // Windows, Linux, macOS (with Java runtime)
20
- js(compiler = IR ) { // Kotlin/JS drawing to a canvas
21
- nodejs()
22
- browser()
23
- binaries.executable()
24
- }
20
+ js(IR ) { browser() } // Kotlin/JS drawing to a canvas
25
21
@OptIn(ExperimentalWasmDsl ::class )
26
- wasmJs { // Kotlin/Wasm drawing to a canvas
27
- nodejs()
28
- browser()
29
- binaries.executable()
30
- }
31
- listOf (
32
- iosX64(),
33
- iosArm64(),
34
- iosSimulatorArm64()
35
- ).forEach { iosTarget ->
36
- iosTarget.binaries.framework {
37
- baseName = " library"
38
- isStatic = true
39
- }
40
- }
22
+ wasmJs { browser() } // Kotlin/Wasm drawing to a canvas
23
+ iosX64()
24
+ iosArm64()
25
+ iosSimulatorArm64()
41
26
42
27
sourceSets {
43
28
commonMain.dependencies {
You can’t perform that action at this time.
0 commit comments