Skip to content

Commit

Permalink
fix: android publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
krizzu committed Feb 27, 2024
1 parent a7a7ca7 commit 437da81
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ kotlin.code.style=official
#Android
android.useAndroidX=true

#Publishing
SONATYPE_AUTOMATIC_RELEASE=false

#KMM
kotlin.mpp.stability.nowarn=true
kotlin.mpp.enableCInteropCommonization=true
Expand Down
2 changes: 1 addition & 1 deletion package_info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Async Storage SQLite",
"version": "0.0.1",
"version": "0.0.3",
"description": "Multiplatform key-value storage backed by SQLite for React Native Async Storage",
"author": "Krzysztof Borowy",
"homepage": "https://github.com/react-native-async-storage/sqlite-storage-native",
Expand Down
2 changes: 1 addition & 1 deletion sqlite-storage-plugin/src/main/kotlin/ConfigurePublish.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal fun Project.configurePublish(info: PackageInfoExtension) {
}

(project as ExtensionAware).extensions.configure<MavenPublishBaseExtension> {
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true)
publishToMavenCentral(SonatypeHost.S01, automaticRelease = false)
signAllPublications()

coordinates(
Expand Down
5 changes: 4 additions & 1 deletion sqlite-storage/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ plugins {


kotlin {
androidTarget()
androidTarget {
publishLibraryVariants("release")
}

val xcf = XCFramework(packageInfo.darwin.xcframeworkName)
listOf(
iosX64(),
Expand Down

0 comments on commit 437da81

Please sign in to comment.