Skip to content

Commit

Permalink
Add new targets now supported by Ktor
Browse files Browse the repository at this point in the history
Resolves: #482
Resolves: #483
Resolves: #484
  • Loading branch information
joffrey-bion committed Jan 3, 2025
1 parent 3f851c5 commit 2447ca0
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import org.hildan.chrome.devtools.build.*
import org.jetbrains.kotlin.gradle.*
import org.jetbrains.kotlin.gradle.targets.jvm.tasks.*

plugins {
@@ -28,6 +29,7 @@ repositories {

private val generatedProtocolSourcesDirPath = "src/commonMain/generated"

@OptIn(ExperimentalWasmDsl::class)
kotlin {
jvmToolchain(11)

@@ -36,6 +38,12 @@ kotlin {
browser()
nodejs()
}
wasmJs {
browser()
nodejs()
d8()
}

mingwX64()
linuxX64()
linuxArm64()
@@ -47,26 +55,22 @@ kotlin {
watchosX64()
watchosArm32()
watchosArm64()
watchosDeviceArm64()
watchosSimulatorArm64()
tvosX64()
tvosArm64()
tvosSimulatorArm64()

androidNativeArm32()
androidNativeArm64()
androidNativeX64()
androidNativeX86()

// Not supported yet by Ktor

// wasmJs {
// browser()
// nodejs()
// d8()
// }
// wasmWasi {
// nodejs()
// }
// watchosDeviceArm64()
// androidNativeArm32()
// androidNativeArm64()
// androidNativeX64()
// androidNativeX86()

sourceSets {
commonMain {

0 comments on commit 2447ca0

Please sign in to comment.