Skip to content

Commit 85d5ac9

Browse files
committed
Disable non-Android platforms
1 parent 9e07509 commit 85d5ac9

File tree

4 files changed

+65
-65
lines changed

4 files changed

+65
-65
lines changed

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ include(":androidApp")
5454
include(":ui-components")
5555
include(":ui-components-gallery")
5656
include(":shared")
57-
include(":backend")
57+
//include(":backend")

shared/build.gradle.kts

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -30,39 +30,39 @@ kotlin {
3030
}
3131
}
3232

33-
jvm()
34-
35-
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class)
36-
wasmJs {
37-
binaries.executable()
38-
browser {
39-
val projectDir = project.projectDir.path
40-
val rootDir = project.rootDir.path
41-
commonWebpackConfig {
42-
outputFileName = "kotlinconf-app.js"
43-
}
44-
}
45-
}
46-
47-
js {
48-
binaries.executable()
49-
browser {
50-
commonWebpackConfig {
51-
outputFileName = "kotlinconf-app.js"
52-
}
53-
}
54-
}
55-
56-
listOf(
57-
iosX64(),
58-
iosArm64(),
59-
iosSimulatorArm64()
60-
).forEach {
61-
it.binaries.framework {
62-
baseName = "shared"
63-
isStatic = true
64-
}
65-
}
33+
// jvm()
34+
//
35+
// @OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class)
36+
// wasmJs {
37+
// binaries.executable()
38+
// browser {
39+
// val projectDir = project.projectDir.path
40+
// val rootDir = project.rootDir.path
41+
// commonWebpackConfig {
42+
// outputFileName = "kotlinconf-app.js"
43+
// }
44+
// }
45+
// }
46+
//
47+
// js {
48+
// binaries.executable()
49+
// browser {
50+
// commonWebpackConfig {
51+
// outputFileName = "kotlinconf-app.js"
52+
// }
53+
// }
54+
// }
55+
//
56+
// listOf(
57+
// iosX64(),
58+
// iosArm64(),
59+
// iosSimulatorArm64()
60+
// ).forEach {
61+
// it.binaries.framework {
62+
// baseName = "shared"
63+
// isStatic = true
64+
// }
65+
// }
6666

6767
applyDefaultHierarchyTemplate()
6868

ui-components-gallery/build.gradle.kts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,24 @@ plugins {
1212
kotlin {
1313
androidTarget()
1414

15-
jvm()
16-
17-
iosX64()
18-
iosArm64()
19-
iosSimulatorArm64()
20-
21-
@OptIn(ExperimentalWasmDsl::class)
22-
wasmJs {
23-
binaries.executable()
24-
browser {
25-
commonWebpackConfig {
26-
outputFileName = "kotlinconf-app-gallery.js"
27-
}
28-
}
29-
}
30-
js {
31-
browser()
32-
}
15+
// jvm()
16+
//
17+
// iosX64()
18+
// iosArm64()
19+
// iosSimulatorArm64()
20+
//
21+
// @OptIn(ExperimentalWasmDsl::class)
22+
// wasmJs {
23+
// binaries.executable()
24+
// browser {
25+
// commonWebpackConfig {
26+
// outputFileName = "kotlinconf-app-gallery.js"
27+
// }
28+
// }
29+
// }
30+
// js {
31+
// browser()
32+
// }
3333

3434
sourceSets {
3535
commonMain.dependencies {

ui-components/build.gradle.kts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ kotlin {
1717

1818
androidTarget()
1919

20-
jvm()
21-
22-
iosX64()
23-
iosArm64()
24-
iosSimulatorArm64()
25-
26-
@OptIn(ExperimentalWasmDsl::class)
27-
wasmJs {
28-
browser()
29-
}
30-
js {
31-
browser()
32-
}
20+
// jvm()
21+
//
22+
// iosX64()
23+
// iosArm64()
24+
// iosSimulatorArm64()
25+
//
26+
// @OptIn(ExperimentalWasmDsl::class)
27+
// wasmJs {
28+
// browser()
29+
// }
30+
// js {
31+
// browser()
32+
// }
3333

3434
sourceSets {
3535
commonMain.dependencies {

0 commit comments

Comments
 (0)