Skip to content

Commit

Permalink
[kotlin-client][multiplatform] add iosSimulatorArm64 target
Browse files Browse the repository at this point in the history
  • Loading branch information
WonderCsabo committed Nov 13, 2023
1 parent 5328926 commit 86e5613
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ repositories {
kotlin {
jvm()
ios { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } }
iosSimulatorArm64 { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } }
js {
browser()
nodejs()
Expand Down Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ repositories {
kotlin {
jvm()
ios { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } }
iosSimulatorArm64 { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } }
js {
browser()
nodejs()
Expand Down Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ repositories {
kotlin {
jvm()
ios { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } }
iosSimulatorArm64 { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } }
js {
browser()
nodejs()
Expand Down Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ repositories {
kotlin {
jvm()
ios { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } }
iosSimulatorArm64 { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } }
js {
browser()
nodejs()
Expand Down Expand Up @@ -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")
Expand Down
5 changes: 5 additions & 0 deletions samples/client/petstore/kotlin-multiplatform/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ repositories {
kotlin {
jvm()
ios { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } }
iosSimulatorArm64 { binaries { framework { freeCompilerArgs += "-Xobjc-generics" } } }
js {
browser()
nodejs()
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 86e5613

Please sign in to comment.