File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,50 @@ kotlin {
1313 }
1414 }
1515
16+ jvm(" desktop" )
17+
18+ js {
19+ browser()
20+ nodejs()
21+ }
22+
23+ @OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl ::class )
24+ wasmJs {
25+ browser()
26+ }
27+
1628 listOf (
1729 iosArm64(),
30+ iosX64(), // Adding iosX64 target
1831 iosSimulatorArm64()
1932 ).forEach { iosTarget ->
2033 iosTarget.binaries.framework {
2134 baseName = " ZodKmp"
2235 isStatic = true
2336 }
2437 }
38+
39+ // Add macOS targets
40+ macosX64()
41+ macosArm64()
42+
43+ // Add tvOS targets
44+ tvosArm64()
45+ tvosX64()
46+ tvosSimulatorArm64()
47+
48+ // Add watchOS targets
49+ watchosArm32()
50+ watchosArm64()
51+ watchosX64()
52+ watchosSimulatorArm64()
53+
54+ // Add Linux targets
55+ linuxX64()
56+ linuxArm64()
57+
58+ // Add Windows targets
59+ mingwX64()
2560
2661 sourceSets {
2762 commonMain.dependencies {
You can’t perform that action at this time.
0 commit comments