From 0b9a1838fed65ce0ded13ff299777f7c8eb74148 Mon Sep 17 00:00:00 2001 From: Kevin Galligan Date: Sat, 7 Dec 2024 21:16:47 -0500 Subject: [PATCH] Try build type arg --- .github/workflows/KMMBridge-Debug.yml | 2 +- allshared/build.gradle.kts | 1 - gradle/libs.versions.toml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/KMMBridge-Debug.yml b/.github/workflows/KMMBridge-Debug.yml index fd353bd..2aa67f8 100644 --- a/.github/workflows/KMMBridge-Debug.yml +++ b/.github/workflows/KMMBridge-Debug.yml @@ -52,7 +52,7 @@ jobs: key: ${{ runner.os }}-v4-${{ hashFiles('*.gradle.kts') }} - name: Build Main - run: ./gradlew kmmBridgePublish -PLIBRARY_VERSION=${{ steps.versionPropertyValue.outputs.propVal }}-${{ steps.trimcommit.outputs.short }} -PENABLE_PUBLISHING=true -PGITHUB_PUBLISH_TOKEN=${{ secrets.GITHUB_TOKEN }} -PGITHUB_REPO=${{ github.repository }} --no-daemon --info --stacktrace + run: ./gradlew kmmBridgePublish -PLIBRARY_VERSION=${{ steps.versionPropertyValue.outputs.propVal }}-${{ steps.trimcommit.outputs.short }} -PENABLE_PUBLISHING=true -PNATIVE_BUILD_TYPE=DEBUG -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" diff --git a/allshared/build.gradle.kts b/allshared/build.gradle.kts index a05cbbe..5bec508 100644 --- a/allshared/build.gradle.kts +++ b/allshared/build.gradle.kts @@ -30,7 +30,6 @@ kotlin { kmmbridge { gitHubReleaseArtifacts() - buildType.setAndFinalize(NativeBuildType.DEBUG) spm(swiftToolVersion = "5.8") { iOS { v("14") } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a2704c6..7a3db91 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -6,7 +6,7 @@ compileSdk = "34" # Dependencies kotlin = "2.0.10" -kmmBridge = "1.1.0" +kmmBridge = "1.1.1" android-gradle-plugin = "8.2.0" coroutines = "1.8.1" kotlinx-datetime = "0.6.0"