aboutsummaryrefslogtreecommitdiff
path: root/build-logic/android-plugins/src
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2022-02-26 17:46:25 +0000
committerGitHub <noreply@github.com>2022-02-26 17:46:25 +0000
commit8f2c5cfccbbe20e7b9070b44b3de1a7f3a064c01 (patch)
tree4e59e4862000e63e1ee42ae8a2b77b0a47646e2f /build-logic/android-plugins/src
parentc22dc51442847ff5eece9605ab60b0404b93ee27 (diff)
chore(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.19.0 (#1756)
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'build-logic/android-plugins/src')
-rw-r--r--build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts17
1 files changed, 16 insertions, 1 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 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<MavenPublishBaseExtension> {
+ group = requireNotNull(project.findProperty("GROUP"))
+ version = requireNotNull(project.findProperty("VERSION_NAME"))
+ mavenPublishing {
+ publishToMavenCentral(SonatypeHost.DEFAULT)
+ signAllPublications()
+ configure(AndroidSingleVariantLibrary())
+ }
+ pomFromGradleProperties()
}
afterEvaluate {