Skip to content

Commit 45f94ca

Browse files
committed
Merge branch 'master' into develop
2 parents 35260f0 + ed42636 commit 45f94ca

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
java-version: 17
2828
distribution: zulu
2929
- name: Publish
30-
run: ./gradlew publish
30+
# gradle configuration cache not supported in https://github.com/gradle-nexus/publish-plugin
31+
run: ./gradlew publish --no-configuration-cache
3132

3233
release:
3334
name: Create release

build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ val mokoVersion = libs.versions.mokoErrorsVersion.get()
2323
allprojects {
2424
this.group = "dev.icerock.moko"
2525
this.version = mokoVersion
26+
27+
// fix Reason: Task ':errors:publishAndroidPublicationToSonatypeRepository' uses this output of task ':errors:signIosArm64Publication' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
28+
val signingTasks = tasks.withType<Sign>()
29+
tasks.withType<AbstractPublishToMaven>().configureEach {
30+
dependsOn(signingTasks)
31+
}
2632
}
2733

2834
tasks.register("clean", Delete::class).configure {

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ androidCoreTesting = { module = "androidx.arch.core:core-testing", version.ref =
3232
kotlinGradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlinVersion" }
3333
androidGradlePlugin = { module = "com.android.tools.build:gradle", version = "8.3.2" }
3434
mokoResourcesGradlePlugin = { module = "dev.icerock.moko:resources-generator", version.ref = "mokoResourcesVersion" }
35-
mokoGradlePlugin = { module = "dev.icerock.moko:moko-gradle-plugin", version = "0.4.1" }
35+
mokoGradlePlugin = { module = "dev.icerock.moko:moko-gradle-plugin", version = "0.4.2" }

0 commit comments

Comments
 (0)