Skip to content

Commit

Permalink
Add JS and WASM-JS targets
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed Aug 23, 2024
1 parent 4170241 commit df5f63a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions di/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl

plugins {
alias(libs.plugins.kotlinMultiplatform)
Expand All @@ -20,6 +21,11 @@ kotlin {
iosArm64()
iosSimulatorArm64()
linuxX64()
js(IR) {
browser()
nodejs()
}
@OptIn(ExperimentalWasmDsl::class) wasmJs()

sourceSets {
val commonMain by getting {
Expand Down

0 comments on commit df5f63a

Please sign in to comment.