Skip to content

Commit

Permalink
add more target for compose & update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudgiuliani committed Jan 30, 2024
1 parent 5bf4d08 commit 3d982ad
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
17 changes: 17 additions & 0 deletions projects/compose/koin-compose/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
Expand All @@ -11,7 +12,14 @@ kotlin {
}

js(IR) {
nodejs()
browser()
binaries.executable()
}

wasmJs {
binaries.executable()
nodejs()
}

iosX64()
Expand All @@ -28,4 +36,13 @@ kotlin {
}
}

rootProject.the<NodeJsRootExtension>().apply {
nodeVersion = "21.0.0-v8-canary202309143a48826a08"
nodeDownloadBaseUrl = "https://nodejs.org/download/v8-canary"
}

tasks.withType<org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinNpmInstallTask>().configureEach {
args.add("--ignore-engines")
}

apply(from = file("../../gradle/publish.gradle.kts"))
2 changes: 1 addition & 1 deletion projects/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ kotlin.code.style=official
#Koin
koinVersion=3.6.0-wasm-alpha1
#Compose
composeCompiler=1.5.5
composeCompiler=1.5.8
#Android
android.useAndroidX=true
androidMinSDK=14
Expand Down
6 changes: 3 additions & 3 deletions projects/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# /!\ Koin in gradle.properties /!\

# Core
kotlin = "1.9.20"
kotlin = "1.9.22"
binaryValidator = "0.13.2"
publish = "2.0.0-rc-1"
coroutines = "1.7.3" # "1.8.0-RC2" for wasm
Expand All @@ -19,8 +19,8 @@ androidx-workmanager = "2.8.1"
androidx-navigation = "2.7.5"
# Compose
# /!\ Compose compiler in gradle.properties /!\
composeJB = "1.5.10"
composeJetpackRuntime = "1.5.4"
composeJB = "1.6.0-beta01"
composeJetpackRuntime = "1.6.0-rc01"
composeJetpackViewmodel = "2.6.2"
# Test
stately = "2.0.5"
Expand Down

0 comments on commit 3d982ad

Please sign in to comment.