aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts17
-rw-r--r--gradle/libs.versions.toml2
2 files changed, 9 insertions, 10 deletions
diff --git a/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts b/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts
index 0600e54f..5f2c51f3 100644
--- a/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts
+++ b/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts
@@ -4,7 +4,6 @@
*/
import com.vanniktech.maven.publish.AndroidSingleVariantLibrary
-import com.vanniktech.maven.publish.MavenPublishBaseExtension
import com.vanniktech.maven.publish.SonatypeHost
import org.gradle.kotlin.dsl.provideDelegate
@@ -14,15 +13,15 @@ plugins {
id("signing")
}
+group = requireNotNull(project.findProperty("GROUP"))
+
+version = requireNotNull(project.findProperty("VERSION_NAME"))
+
@Suppress("UnstableApiUsage")
-configure<MavenPublishBaseExtension> {
- group = requireNotNull(project.findProperty("GROUP"))
- version = requireNotNull(project.findProperty("VERSION_NAME"))
- mavenPublishing {
- publishToMavenCentral(SonatypeHost.DEFAULT)
- signAllPublications()
- configure(AndroidSingleVariantLibrary())
- }
+mavenPublishing {
+ publishToMavenCentral(SonatypeHost.DEFAULT)
+ signAllPublications()
+ configure(AndroidSingleVariantLibrary())
pomFromGradleProperties()
}
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 1effe1b7..4406e85d 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -42,7 +42,7 @@ build-agp = "com.android.tools.build:gradle:7.2.1"
build-binarycompat = "org.jetbrains.kotlinx:binary-compatibility-validator:0.10.0"
build-download = "de.undercouch:gradle-download-task:5.1.0"
build-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"
-build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.19.0"
+build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.20.0"
build-okhttp = "com.squareup.okhttp3:okhttp:4.9.3"
build-semver = "com.vdurmont:semver4j:3.1.0"
build-sentry = "io.sentry.android.gradle:io.sentry.android.gradle.gradle.plugin:3.1.0-beta.2"