From 86e5613c19dca5833b3fa573284bfcdafd771740 Mon Sep 17 00:00:00 2001 From: Csaba Kozak Date: Mon, 13 Nov 2023 17:38:42 +0100 Subject: [PATCH] [kotlin-client][multiplatform] add iosSimulatorArm64 target --- .../libraries/multiplatform/build.gradle.kts.mustache | 5 +++++ .../build.gradle.kts | 5 +++++ .../kotlin-bigdecimal-default-multiplatform/build.gradle.kts | 5 +++++ .../kotlin-default-values-multiplatform/build.gradle.kts | 5 +++++ .../client/petstore/kotlin-multiplatform/build.gradle.kts | 5 +++++ 5 files changed, 25 insertions(+) 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 2bbb82981704..2f26144342b2 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 @@ -20,6 +20,7 @@ repositories { kotlin { jvm() ios { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } } + iosSimulatorArm64 { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } } js { browser() nodejs() @@ -66,6 +67,10 @@ kotlin { val iosTest by getting + val iosSimulatorArm64Main by getting + + val iosSimulatorArm64Test by getting + 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 f8781e4f61ce..99fef0b6756a 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 @@ -20,6 +20,7 @@ repositories { kotlin { jvm() ios { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } } + iosSimulatorArm64 { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } } js { browser() nodejs() @@ -66,6 +67,10 @@ kotlin { val iosTest by getting + val iosSimulatorArm64Main by getting + + val iosSimulatorArm64Test by getting + 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 f8781e4f61ce..99fef0b6756a 100644 --- a/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/build.gradle.kts +++ b/samples/client/petstore/kotlin-bigdecimal-default-multiplatform/build.gradle.kts @@ -20,6 +20,7 @@ repositories { kotlin { jvm() ios { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } } + iosSimulatorArm64 { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } } js { browser() nodejs() @@ -66,6 +67,10 @@ kotlin { val iosTest by getting + val iosSimulatorArm64Main by getting + + val iosSimulatorArm64Test by getting + 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 f8781e4f61ce..99fef0b6756a 100644 --- a/samples/client/petstore/kotlin-default-values-multiplatform/build.gradle.kts +++ b/samples/client/petstore/kotlin-default-values-multiplatform/build.gradle.kts @@ -20,6 +20,7 @@ repositories { kotlin { jvm() ios { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } } + iosSimulatorArm64 { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } } js { browser() nodejs() @@ -66,6 +67,10 @@ kotlin { val iosTest by getting + val iosSimulatorArm64Main by getting + + val iosSimulatorArm64Test by getting + 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 f8781e4f61ce..99fef0b6756a 100644 --- a/samples/client/petstore/kotlin-multiplatform/build.gradle.kts +++ b/samples/client/petstore/kotlin-multiplatform/build.gradle.kts @@ -20,6 +20,7 @@ repositories { kotlin { jvm() ios { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } } + iosSimulatorArm64 { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } } js { browser() nodejs() @@ -66,6 +67,10 @@ kotlin { val iosTest by getting + val iosSimulatorArm64Main by getting + + val iosSimulatorArm64Test by getting + val jsMain by getting { dependencies { api("io.ktor:ktor-client-js:$ktor_version")