Skip to content

Commit

Permalink
Support wasm-js target in ktor-client modules
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Nov 30, 2024
1 parent 3e32d60 commit 815be2f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ plugins {
@OptIn(ExperimentalKotlinGradlePluginApi::class)
kotlin {
compilerOptions {
// because of INVISIBLE_REFERENCE suppression - will be removed after migration to kotlinx.io
if (project.name != "rsocket-test") {
allWarningsAsErrors.set(true)
}
allWarningsAsErrors.set(true)
progressiveMode.set(true)
freeCompilerArgs.add("-Xrender-internal-diagnostic-names")
optIn.addAll(OptIns.ExperimentalSubclassOptIn)
Expand Down
1 change: 1 addition & 0 deletions ktor-plugins/ktor-client-rsocket/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ description = "rsocket-kotlin ktor client plugin"
kotlin {
jvmTarget()
jsTarget()
wasmJsTarget()
nativeTargets()

sourceSets {
Expand Down
1 change: 1 addition & 0 deletions ktor-plugins/rsocket-ktor-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ description = "OLD ARTIFACT - migrate to ktor-client-rsocket"
kotlin {
jvmTarget()
jsTarget()
wasmJsTarget()
nativeTargets()

sourceSets {
Expand Down
1 change: 1 addition & 0 deletions rsocket-transports/ktor-websocket-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ description = "rsocket-kotlin ktor WebSocket client transport implementation"
kotlin {
jvmTarget()
jsTarget()
wasmJsTarget()
nativeTargets()

sourceSets {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ description = "rsocket-kotlin ktor WebSocket transport utilities"
kotlin {
jvmTarget()
jsTarget()
wasmJsTarget()
nativeTargets()

sourceSets {
Expand Down

0 comments on commit 815be2f

Please sign in to comment.