Skip to content

Commit

Permalink
CocoaPods Gradle Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kpgalligan committed Dec 3, 2024
1 parent ea38d98 commit db5094f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/KMMBridgePublish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- uses: extractions/netrc@v1
with:
machine: api.github.com
machine: maven.pkg.github.com
username: "cirunner"
password: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -62,11 +62,4 @@ jobs:
- name: Build Main
run: ./gradlew kmmBridgePublish -PENABLE_PUBLISHING=true -PGITHUB_PUBLISH_TOKEN=${{ secrets.GITHUB_TOKEN }} -PGITHUB_REPO=${{ github.repository }} --no-daemon --info --stacktrace
env:
GRADLE_OPTS: -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m"

- uses: touchlab/ga-update-release-tag@v1
id: update-release-tag
with:
commitMessage: "KMP CocoaPods package release for ${{ steps.versionPropertyValue.outputs.propVal }}"
tagMessage: "KMP release version ${{ steps.versionPropertyValue.outputs.propVal }}"
tagVersion: ${{ steps.versionPropertyValue.outputs.propVal }}
GRADLE_OPTS: -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m"
6 changes: 4 additions & 2 deletions allshared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
kotlin {

listOf(
// iosX64(),
iosX64(),
iosArm64(),
iosSimulatorArm64()
)
Expand All @@ -35,8 +35,10 @@ kotlin {
}
}

addGithubPackagesRepository()

kmmbridge {
gitHubReleaseArtifacts()
mavenPublishArtifacts()
// Must be the SSH url
cocoapods("[email protected]:touchlab/KMMBridgeCocoaTest-releases.git")
}
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ kotlin.code.style=official
android.useAndroidX=true
org.gradle.jvmargs=-Xmx4g

LIBRARY_VERSION=0.2.0
LIBRARY_VERSION=0.2.7
GROUP=co.touchlab.kmmbridgecocoapodsquickstart
org.gradle.configuration-cache=true

0 comments on commit db5094f

Please sign in to comment.