aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2022-06-02 20:20:28 +0000
committerGitHub <noreply@github.com>2022-06-02 20:20:28 +0000
commit1f3d597bc1f7931eb51b06c65be17556469f0549 (patch)
treeb2023a30b8c032a8314bf6a8a7afb7440fc6ec8f
parent7b2781707b7a417d705075e9ea8a7a3501ef5cae (diff)
chore(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.20.0 (#1932)
* chore(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.20.0 * Simplify maven-publish configuration Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
-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"