This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae6eeec
commit 029d19a
Showing
4 changed files
with
53 additions
and
70 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
} | ||
|
@@ -43,5 +36,4 @@ addGithubPackagesRepository() | |
kmmbridge { | ||
mavenPublishArtifacts() | ||
spm() | ||
// cocoapods("[email protected]:touchlab/PodSpecs.git") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") | ||
} |