Skip to content

Commit 0c08365

Browse files
authored
Merge pull request #103 from mikepenz/develop
dev -> main
2 parents 05b825f + 4cbd85b commit 0c08365

File tree

8 files changed

+40
-53
lines changed

8 files changed

+40
-53
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
os: [ macos-latest, ubuntu-latest, windows-latest ]
17+
os: [ macos-latest ]
1818

1919
runs-on: ${{matrix.os}}
2020

@@ -54,26 +54,6 @@ jobs:
5454
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
5555
run: ./gradlew publishAllPublicationsToMavenCentralRepository
5656

57-
- name: Publish the windows artifact
58-
if: matrix.os == 'windows-latest'
59-
env:
60-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.NEXUS_USERNAME }}
61-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_PASSWORD }}
62-
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }}
63-
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_PRIVATE_KEY }}
64-
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
65-
run: ./gradlew publishMingwX64PublicationToMavenCentralRepository
66-
67-
- name: Publish the linux artifact
68-
if: matrix.os == 'ubuntu-latest'
69-
env:
70-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.NEXUS_USERNAME }}
71-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_PASSWORD }}
72-
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }}
73-
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_PRIVATE_KEY }}
74-
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
75-
run: ./gradlew publishLinuxX64PublicationToMavenCentralRepository
76-
7757
build:
7858
name: Build
7959
runs-on: ubuntu-latest

app/build.gradle.kts

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ plugins {
77
id("com.mikepenz.convention.android-application")
88
id("com.mikepenz.convention.compose")
99
id("com.mikepenz.aboutlibraries.plugin")
10-
id("com.codingfeline.buildkonfig") version "0.16.0"
10+
id("com.codingfeline.buildkonfig") version "0.17.1"
1111
}
1212

1313
kotlin {
1414
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl::class)
1515
wasmJs {
16-
moduleName = "composeApp"
16+
outputModuleName = "composeApp"
1717
browser {
1818
commonWebpackConfig {
1919
outputFileName = "composeApp.js"
@@ -168,6 +168,13 @@ buildkonfig {
168168
}
169169

170170
aboutLibraries {
171-
registerAndroidTasks = false
172-
duplicationMode = com.mikepenz.aboutlibraries.plugin.DuplicateMode.MERGE
171+
android {
172+
registerAndroidTasks = false
173+
}
174+
library {
175+
duplicationMode = com.mikepenz.aboutlibraries.plugin.DuplicateMode.MERGE
176+
}
177+
export {
178+
outputFile = file("src/commonMain/composeResources/files/aboutlibraries.json")
179+
}
173180
}

app/src/commonMain/composeResources/files/aboutlibraries.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ plugins {
1111
alias(baseLibs.plugins.dokka)
1212
alias(baseLibs.plugins.mavenPublish) apply false
1313
alias(baseLibs.plugins.binaryCompatiblityValidator) apply false
14+
alias(baseLibs.plugins.versionCatalogUpdate) apply false
1415

1516

1617
alias(libs.plugins.baselineprofile) apply false

gradle.properties

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ kotlin.code.style=official
44
# Publishing
55
##################################
66
GROUP=com.mikepenz
7-
VERSION_NAME=2.1.0-rc01
8-
VERSION_CODE=2010
7+
VERSION_NAME=2.2.0
8+
VERSION_CODE=2020
99

1010
POM_DESCRIPTION=Storyblok
1111
POM_GITHUB_REPO=mikepenz/storyblok-mp-SDK
@@ -26,10 +26,8 @@ [email protected]
2626
kotlin.mpp.stability.nowarn=true
2727
kotlin.mpp.androidSourceSetLayoutVersion=2
2828
kotlin.mpp.enableCInteropCommonization=true
29-
kotlin.mpp.androidGradlePluginCompatibility.nowarn=true
30-
31-
# Compile JS for legacy backend and new IR backend.
32-
kotlin.js.compiler=both
29+
kotlin.native.ignoreDisabledTargets=true
30+
kotlin.native.enableKlibsCrossCompilation=true
3331

3432
# Compose
3533
org.jetbrains.compose.experimental.uikit.enabled=true
@@ -39,4 +37,7 @@ org.jetbrains.compose.experimental.macos.enabled=true
3937

4038
# Dokka
4139
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
42-
org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn=true
40+
org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn=true
41+
42+
# convention plugin
43+
com.mikepenz.version-catalog-update.enabled=true

gradle/libs.versions.toml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
[versions]
2-
androidx-benchmark = "1.3.3"
3-
datetime = "0.6.1"
4-
serialization = "1.8.0"
5-
ktor = "3.1.0"
2+
androidx-benchmark = "1.3.4"
3+
datetime = "0.6.2"
4+
serialization = "1.8.1"
5+
ktor = "3.1.2"
66
kermit = "2.0.5"
7-
koin = "4.0.2"
8-
kmp-nativecoroutines = "1.0.0-ALPHA-39"
9-
kmp-observeablevm = "1.0.0-BETA-9"
7+
koin = "4.0.4"
8+
kmp-nativecoroutines = "1.0.0-ALPHA-42"
9+
kmp-observeablevm = "1.0.0-BETA-10"
10+
androidx-lifecycle = "2.8.7"
1011

1112
[plugins]
1213
baselineprofile = { id = "androidx.baselineprofile", version.ref = "androidx-benchmark" }
1314
kmp-nativecoroutines = { id = "com.rickclephas.kmp.nativecoroutines", version.ref = "kmp-nativecoroutines" }
1415

1516
[libraries]
16-
androidx-activity-compose = "androidx.activity:activity-compose:1.10.0"
17+
androidx-activity-compose = "androidx.activity:activity-compose:1.10.1"
1718
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "datetime" }
1819
kotlinx-serialization = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "serialization" }
19-
2020
ktor-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
2121
ktor-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
2222
ktor-cio = { module = "io.ktor:ktor-client-cio", version.ref = "ktor" }
@@ -25,21 +25,19 @@ ktor-js = { module = "io.ktor:ktor-client-js", version.ref = "ktor" }
2525
ktor-darwin = { module = "io.ktor:ktor-client-darwin", version.ref = "ktor" }
2626
ktor-content-negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" }
2727
ktor-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }
28-
2928
koin-core = { module = "io.insert-koin:koin-core", version.ref = "koin" }
3029
koin-android = { module = "io.insert-koin:koin-android", version.ref = "koin" }
3130
koin-compose-multiplatform = { module = "io.insert-koin:koin-compose", version.ref = "koin" }
32-
3331
kmp-viewmodel = { module = "com.rickclephas.kmp:kmp-observableviewmodel-core", version.ref = "kmp-observeablevm" }
34-
3532
# sample app
3633
kermit = { module = "co.touchlab:kermit", version.ref = "kermit" }
37-
3834
# legacy sample app
39-
androidx-lifecycle-runtime = "androidx.lifecycle:lifecycle-runtime-ktx:2.8.7"
40-
androidx-lifecycle-viewmodel = "androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7"
35+
androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidx-lifecycle" }
36+
androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx-lifecycle" }
4137

4238
[bundles]
43-
ktor = ["ktor-core", "ktor-content-negotiation", "ktor-json"]
44-
45-
39+
ktor = [
40+
"ktor-content-negotiation",
41+
"ktor-core",
42+
"ktor-json",
43+
]

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencyResolutionManagement {
2222

2323
versionCatalogs {
2424
create("baseLibs") {
25-
from("com.mikepenz:version-catalog:0.1.6")
25+
from("com.mikepenz:version-catalog:0.3.3")
2626
}
2727
}
2828
}

storyblok-mp-sdk/src/commonMain/kotlin/com/mikepenz/storyblok/sdk/Storyblok.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ class Storyblok(
345345
private val API_ENDPOINT = Endpoints.EU.host
346346
private val API_PATH = Endpoints.EU.path
347347

348-
private const val SDK_VERSION = "2.1.0-rc01"
348+
private const val SDK_VERSION = "2.2.0"
349349
private const val SDK_USER_AGENT = "storyblok-sdk-android/$SDK_VERSION"
350350

351351
private const val VERSION_PUBLISHED = "published"

0 commit comments

Comments
 (0)