aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/deploy_library_releases.yml9
-rw-r--r--build-logic/android-plugins/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt2
-rw-r--r--gradle/libs.versions.toml2
3 files changed, 2 insertions, 11 deletions
diff --git a/.github/workflows/deploy_library_releases.yml b/.github/workflows/deploy_library_releases.yml
index 9fcaa7a7..4f41c48e 100644
--- a/.github/workflows/deploy_library_releases.yml
+++ b/.github/workflows/deploy_library_releases.yml
@@ -27,12 +27,3 @@ jobs:
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_PUBLISH_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.NEXUS_PUBLISH_GPG_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.NEXUS_PUBLISH_GPG_KEY_PASSWORD }}
-
- - name: Close and release repository
- uses: gradle/gradle-build-action@v2.3.0
- with:
- arguments: --no-configuration-cache closeAndReleaseRepository
- gradle-home-cache-cleanup: true
- env:
- ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.NEXUS_PUBLISH_USERNAME }}
- ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_PUBLISH_PASSWORD }}
diff --git a/build-logic/android-plugins/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt b/build-logic/android-plugins/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt
index acbb1eb2..b005043b 100644
--- a/build-logic/android-plugins/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt
+++ b/build-logic/android-plugins/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt
@@ -23,7 +23,7 @@ class PublishedAndroidLibraryPlugin : Plugin<Project> {
apply(SigningPlugin::class)
}
project.extensions.getByType<MavenPublishBaseExtension>().run {
- publishToMavenCentral(SonatypeHost.DEFAULT)
+ publishToMavenCentral(SonatypeHost.DEFAULT, true)
signAllPublications()
}
project.afterEvaluate {
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 67527cac..9790308b 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -41,7 +41,7 @@ build-binarycompat = "org.jetbrains.kotlinx:binary-compatibility-validator:0.11.
build-detekt = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.21.0"
build-download = "de.undercouch:gradle-download-task:5.1.3"
build-kotlin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
-build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.21.0"
+build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.22.0"
build-okhttp = "com.squareup.okhttp3:okhttp:4.10.0"
build-r8 = "com.android.tools:r8:4.0.18-dev"
build-semver = "com.vdurmont:semver4j:3.1.0"