Skip to content

Commit 437da81

Browse files
committed
fix: android publishing
1 parent a7a7ca7 commit 437da81

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

gradle.properties

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ kotlin.code.style=official
88
#Android
99
android.useAndroidX=true
1010

11+
#Publishing
12+
SONATYPE_AUTOMATIC_RELEASE=false
13+
1114
#KMM
1215
kotlin.mpp.stability.nowarn=true
1316
kotlin.mpp.enableCInteropCommonization=true

package_info.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Async Storage SQLite",
3-
"version": "0.0.1",
3+
"version": "0.0.3",
44
"description": "Multiplatform key-value storage backed by SQLite for React Native Async Storage",
55
"author": "Krzysztof Borowy",
66
"homepage": "https://github.com/react-native-async-storage/sqlite-storage-native",

sqlite-storage-plugin/src/main/kotlin/ConfigurePublish.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ internal fun Project.configurePublish(info: PackageInfoExtension) {
1414
}
1515

1616
(project as ExtensionAware).extensions.configure<MavenPublishBaseExtension> {
17-
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true)
17+
publishToMavenCentral(SonatypeHost.S01, automaticRelease = false)
1818
signAllPublications()
1919

2020
coordinates(

sqlite-storage/build.gradle.kts

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ plugins {
1212

1313

1414
kotlin {
15-
androidTarget()
15+
androidTarget {
16+
publishLibraryVariants("release")
17+
}
18+
1619
val xcf = XCFramework(packageInfo.darwin.xcframeworkName)
1720
listOf(
1821
iosX64(),

0 commit comments

Comments
 (0)