Skip to content

Commit 293fa1e

Browse files
author
Julia Jakubcova
committed
Remove cocoapods plugin.
1 parent 02666bc commit 293fa1e

1 file changed

Lines changed: 24 additions & 4 deletions

File tree

shared/build.gradle.kts

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
import org.jetbrains.kotlin.gradle.plugin.mpp.Framework
2+
13
plugins {
24
kotlin("multiplatform") version "1.7.20"
3-
kotlin("native.cocoapods") version "1.7.20"
45
id("com.android.library") version "7.2.2"
56
id("co.touchlab.faktory.kmmbridge") version "999"
67
`maven-publish`
@@ -18,9 +19,27 @@ repositories {
1819
kotlin {
1920
android()
2021

21-
iosX64()
22-
iosArm64()
23-
iosSimulatorArm64()
22+
iosX64 {
23+
binaries {
24+
framework {
25+
isStatic = true
26+
}
27+
}
28+
}
29+
iosArm64 {
30+
binaries {
31+
framework {
32+
isStatic = true
33+
}
34+
}
35+
}
36+
iosSimulatorArm64 {
37+
binaries {
38+
framework {
39+
isStatic = true
40+
}
41+
}
42+
}
2443

2544
sourceSets {
2645
val commonMain by getting
@@ -46,6 +65,7 @@ android {
4665
}
4766

4867
kmmbridge {
68+
frameworkName.set("KmmBridgeIntegrationTestSPMWithoutCommit")
4969
versionPrefix.set("1.5")
5070
spm(spmDirectory = "../", commitManually = true)
5171
// For now the ios target takes whatever is the newest published Package.swift and doesn't care about the version

0 commit comments

Comments
 (0)