From 293fa1e282ba2a4a66637e358f0d06036b54e79a Mon Sep 17 00:00:00 2001 From: Julia Jakubcova Date: Wed, 14 Dec 2022 14:38:26 +0100 Subject: [PATCH] Remove cocoapods plugin. --- shared/build.gradle.kts | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index 9fdc455..7a8c281 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -1,6 +1,7 @@ +import org.jetbrains.kotlin.gradle.plugin.mpp.Framework + plugins { kotlin("multiplatform") version "1.7.20" - kotlin("native.cocoapods") version "1.7.20" id("com.android.library") version "7.2.2" id("co.touchlab.faktory.kmmbridge") version "999" `maven-publish` @@ -18,9 +19,27 @@ repositories { kotlin { android() - iosX64() - iosArm64() - iosSimulatorArm64() + iosX64 { + binaries { + framework { + isStatic = true + } + } + } + iosArm64 { + binaries { + framework { + isStatic = true + } + } + } + iosSimulatorArm64 { + binaries { + framework { + isStatic = true + } + } + } sourceSets { val commonMain by getting @@ -46,6 +65,7 @@ android { } kmmbridge { + frameworkName.set("KmmBridgeIntegrationTestSPMWithoutCommit") versionPrefix.set("1.5") spm(spmDirectory = "../", commitManually = true) // For now the ios target takes whatever is the newest published Package.swift and doesn't care about the version