From 8f2c5cfccbbe20e7b9070b44b3de1a7f3a064c01 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 26 Feb 2022 17:46:25 +0000 Subject: chore(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.19.0 (#1756) Co-authored-by: Renovate Bot Co-authored-by: Harsh Shandilya --- ...-password-store.published-android-library.gradle.kts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'build-logic') 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 3aa55b7a..8e079a89 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 @@ -3,12 +3,27 @@ * SPDX-License-Identifier: GPL-3.0-only */ +import com.vanniktech.maven.publish.AndroidSingleVariantLibrary +import com.vanniktech.maven.publish.MavenPublishBaseExtension +import com.vanniktech.maven.publish.SonatypeHost import org.gradle.kotlin.dsl.provideDelegate plugins { id("com.github.android-password-store.android-library") - id("com.vanniktech.maven.publish") + id("com.vanniktech.maven.publish.base") id("org.jetbrains.dokka") + id("signing") +} + +configure { + group = requireNotNull(project.findProperty("GROUP")) + version = requireNotNull(project.findProperty("VERSION_NAME")) + mavenPublishing { + publishToMavenCentral(SonatypeHost.DEFAULT) + signAllPublications() + configure(AndroidSingleVariantLibrary()) + } + pomFromGradleProperties() } afterEvaluate { -- cgit v1.2.3