Skip to content

Commit

Permalink
Clean up and version bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
kpgalligan committed Apr 17, 2024
1 parent 3c419f9 commit ce1e3ea
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
name: iOS Publish
name: KMMBridge iOS Publish
on:
workflow_dispatch:
# push:
# branches:
# - "main"
jobs:
call-kmmbridge-publish:
permissions:
contents: write
packages: write
uses: touchlab/KMMBridge/.github/workflows/spmbuildpublish.yml@kpg/kxcbridge
uses: touchlab/KMMBridge/.github/workflows/spmbuildpublish.yml@kpg/kmmbridge-1.0
with:
jvmVersion: 17
versionProperty: LIBRARY_VERSION
# secrets:
# PODSPEC_SSH_KEY: ${{ secrets.PODSPEC_SSH_KEY }}
4 changes: 1 addition & 3 deletions allshared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ kotlin {
}

kmmbridge {
gitHubReleaseArtifacts(
useExistingRelease = true
)
gitHubReleaseArtifacts()
spm()
}
11 changes: 2 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,11 @@ plugins {
alias(libs.plugins.skie) apply false
}

val autoVersion = project.property(
if (project.hasProperty("AUTO_VERSION")) {
"AUTO_VERSION"
} else {
"LIBRARY_VERSION"
}
) as String

subprojects {
val GROUP: String by project
val LIBRARY_VERSION: String by project
group = GROUP
version = autoVersion
version = LIBRARY_VERSION
}

tasks.register<Delete>("clean") {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ kotlin.code.style=official
android.useAndroidX=true
org.gradle.jvmargs=-Xmx4g

LIBRARY_VERSION=0.1.7
LIBRARY_VERSION=0.1.8
GROUP=co.touchlab-lab.releasetest
12 changes: 6 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ compileSdk = "34"
# Dependencies
kotlin = "1.9.22"
kmmBridge = "0.6.0-alpha2"
android-gradle-plugin = "8.2.2"
coroutines = "1.7.3"
android-gradle-plugin = "8.3.2"
coroutines = "1.8.0"
kotlinx-datetime = "0.5.0"
ktor = "2.3.7"
ktor = "2.3.9"

stately = "2.0.5"
kermit = "2.0.2"
skie = "0.6.1"
stately = "2.0.6"
kermit = "2.0.3"
skie = "0.6.2"

multiplatformSettings = "1.1.1"
sqlDelight = "2.0.1"
Expand Down

0 comments on commit ce1e3ea

Please sign in to comment.