diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/libraries/multiplatform/build.gradle.kts.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/libraries/multiplatform/build.gradle.kts.mustache index 4c3c72061a4..f99114692a0 100644 --- a/modules/openapi-generator/src/main/resources/kotlin-client/libraries/multiplatform/build.gradle.kts.mustache +++ b/modules/openapi-generator/src/main/resources/kotlin-client/libraries/multiplatform/build.gradle.kts.mustache @@ -75,6 +75,9 @@ kotlin { val iosSimulatorArm64Test by getting + iosSimulatorArm64Main.dependsOn(iosMain) + iosSimulatorArm64Test.dependsOn(iosTest) + val jsMain by getting { dependencies { api("io.ktor:ktor-client-js:$ktor_version") diff --git a/samples/client/petstore/kotlin-array-simple-string-multiplatform/build.gradle.kts b/samples/client/petstore/kotlin-array-simple-string-multiplatform/build.gradle.kts index 2846f0af20b..8482c5193fa 100644 --- a/samples/client/petstore/kotlin-array-simple-string-multiplatform/build.gradle.kts +++ b/samples/client/petstore/kotlin-array-simple-string-multiplatform/build.gradle.kts @@ -73,6 +73,9 @@ kotlin { val iosSimulatorArm64Test by getting + iosSimulatorArm64Main.dependsOn(iosMain) + iosSimulatorArm64Test.dependsOn(iosTest) + val jsMain by getting { dependencies { api("io.ktor:ktor-client-js:$ktor_version") diff --git a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/build.gradle.kts b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/build.gradle.kts index 2846f0af20b..8482c5193fa 100644 --- a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/build.gradle.kts +++ b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/build.gradle.kts @@ -73,6 +73,9 @@ kotlin { val iosSimulatorArm64Test by getting + iosSimulatorArm64Main.dependsOn(iosMain) + iosSimulatorArm64Test.dependsOn(iosTest) + val jsMain by getting { dependencies { api("io.ktor:ktor-client-js:$ktor_version") diff --git a/samples/client/petstore/kotlin-default-values-multiplatform/build.gradle.kts b/samples/client/petstore/kotlin-default-values-multiplatform/build.gradle.kts index 2846f0af20b..8482c5193fa 100644 --- a/samples/client/petstore/kotlin-default-values-multiplatform/build.gradle.kts +++ b/samples/client/petstore/kotlin-default-values-multiplatform/build.gradle.kts @@ -73,6 +73,9 @@ kotlin { val iosSimulatorArm64Test by getting + iosSimulatorArm64Main.dependsOn(iosMain) + iosSimulatorArm64Test.dependsOn(iosTest) + val jsMain by getting { dependencies { api("io.ktor:ktor-client-js:$ktor_version") diff --git a/samples/client/petstore/kotlin-multiplatform/build.gradle.kts b/samples/client/petstore/kotlin-multiplatform/build.gradle.kts index 2846f0af20b..8482c5193fa 100644 --- a/samples/client/petstore/kotlin-multiplatform/build.gradle.kts +++ b/samples/client/petstore/kotlin-multiplatform/build.gradle.kts @@ -73,6 +73,9 @@ kotlin { val iosSimulatorArm64Test by getting + iosSimulatorArm64Main.dependsOn(iosMain) + iosSimulatorArm64Test.dependsOn(iosTest) + val jsMain by getting { dependencies { api("io.ktor:ktor-client-js:$ktor_version")