Skip to content

Commit

Permalink
add wasm to util and update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
avan1235 committed Jan 17, 2024
1 parent 6aea199 commit 4152233
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ kotlin.mpp.androidSourceSetLayoutVersion=2

#Compose
org.jetbrains.compose.experimental.uikit.enabled=true
org.jetbrains.compose.experimental.jscanvas.enabled=true
org.jetbrains.compose.experimental.macos.enabled=true
org.jetbrains.compose.experimental.wasm.enabled=true

#Android
android.useAndroidX=true
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ android-minSdk = "26"
android-targetSdk = "33"
barcodeScanning = "17.2.0"
cameraX = "1.3.0"
compose = "1.5.11"
compose = "1.6.0-alpha01"
# @keep
compose-extensions = "1.5.11.0"
compose-extensions = "1.6.0-alpha01.0"
gradle-versions = "0.49.0"
# @pin
kotlin = "1.9.21"
Expand Down
7 changes: 7 additions & 0 deletions util/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl

plugins {
alias(libs.plugins.kotlin.multiplatform) apply true
alias(libs.plugins.android.library) apply true
Expand Down Expand Up @@ -25,6 +27,11 @@ kotlin {
iosArm64()
iosSimulatorArm64()

@OptIn(ExperimentalWasmDsl::class)
wasmJs {
d8()
}

applyDefaultHierarchyTemplate()

sourceSets {
Expand Down

0 comments on commit 4152233

Please sign in to comment.