Skip to content

Commit 25efb29

Browse files
authored
Merge pull request #21 from qiaoyuang/main
Fix the problem about publish
2 parents dc3b43b + 735a783 commit 25efb29

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

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

33
- Date format: YYYY-MM-dd
44

5-
## v1.2.9 / 2023-11-23
5+
## v1.2.9 / 2023-11-24
66

77
* Based on `Kotlin 1.9.20`, `MMKV 1.3.2`
88

mmkv-kotlin/build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
22
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSetTree
3-
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
43

54
plugins {
65
kotlin("multiplatform")
@@ -139,4 +138,9 @@ publishing {
139138
useInMemoryPgpKeys(SIGNING_KEY_ID, SIGNING_KEY, SIGNING_PASSWORD)
140139
sign(publishing.publications)
141140
}
141+
}
142+
143+
// TODO: remove after https://youtrack.jetbrains.com/issue/KT-46466 is fixed
144+
project.tasks.withType(AbstractPublishToMaven::class.java).configureEach {
145+
dependsOn(project.tasks.withType(Sign::class.java))
142146
}

0 commit comments

Comments
 (0)