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 28, 2024
1 parent 024aa3d commit 9e95de3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ plugins {
@OptIn(ExperimentalKotlinGradlePluginApi::class)
kotlin {
compilerOptions {
// because of INVISIBLE_REFERENCE suppression - will be removed after migration to kotlinx.io
if (project.name != "rsocket-test") {
// because of `KLIB resolver: The same unique_name ...`
if (project.name != "rsocket-core") {
allWarningsAsErrors.set(true)
}
progressiveMode.set(true)
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 9e95de3

Please sign in to comment.