Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Revert to SPM-only
Browse files Browse the repository at this point in the history
  • Loading branch information
kpgalligan committed Sep 28, 2023
1 parent ae6eeec commit 029d19a
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 70 deletions.
28 changes: 0 additions & 28 deletions .github/maybeworkflows/KMMBridgeKickStart-Android.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/maybeworkflows/KMMBridgeKickStart-iOS.yml

This file was deleted.

20 changes: 6 additions & 14 deletions allshared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,19 @@ plugins {
kotlin("multiplatform")
id("co.touchlab.kmmbridge")
id("co.touchlab.skie")
kotlin("native.cocoapods")
`maven-publish`
}

kotlin {
@Suppress("OPT_IN_USAGE")
targetHierarchy.default()

iosX64()
iosArm64()
iosSimulatorArm64()

cocoapods {
summary = "KMMBridgeSKIETemplate"
homepage = "https://www.touchlab.co"
ios.deploymentTarget = "13.5"
extraSpecAttributes["libraries"] = "'c++', 'sqlite3'"
license = "BSD"
extraSpecAttributes.put("swift_version", "\"5.0\"") // <- SKIE Needs this!
framework {
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
export(project(":analytics"))
isStatic = true
}
Expand All @@ -43,5 +36,4 @@ addGithubPackagesRepository()
kmmbridge {
mavenPublishArtifacts()
spm()
// cocoapods("[email protected]:touchlab/PodSpecs.git")
}
47 changes: 47 additions & 0 deletions part2/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
kotlin("multiplatform")
id("co.touchlab.kmmbridge")
id("co.touchlab.skie")
kotlin("native.cocoapods")
`maven-publish`
}

kotlin {
@Suppress("OPT_IN_USAGE")
targetHierarchy.default()

iosX64()
iosArm64()
iosSimulatorArm64()

cocoapods {
summary = "KMMBridgeSKIETemplate"
homepage = "https://www.touchlab.co"
ios.deploymentTarget = "13.5"
extraSpecAttributes["libraries"] = "'c++', 'sqlite3'"
license = "BSD"
extraSpecAttributes.put("swift_version", "\"5.0\"") // <- SKIE Needs this!
framework {
export(project(":analytics"))
isStatic = true
}
}

sourceSets {
val commonMain by getting {
dependencies {
implementation(project(":breeds"))
api(project(":analytics"))
}
}
}
}

addGithubPackagesRepository()

kmmbridge {
mavenPublishArtifacts()
spm()
cocoapods("[email protected]:touchlab/KotlinPodspecs.git")
}

0 comments on commit 029d19a

Please sign in to comment.