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>
This commit is contained in:
renovate[bot]
2022-02-26 17:46:25 +00:00
committed by GitHub
parent c22dc51442
commit 8f2c5cfccb
3 changed files with 20 additions and 2 deletions

View File

@@ -3,12 +3,27 @@
* SPDX-License-Identifier: GPL-3.0-only * 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 import org.gradle.kotlin.dsl.provideDelegate
plugins { plugins {
id("com.github.android-password-store.android-library") id("com.github.android-password-store.android-library")
id("com.vanniktech.maven.publish") id("com.vanniktech.maven.publish.base")
id("org.jetbrains.dokka") 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 { afterEvaluate {

View File

@@ -42,6 +42,9 @@ android.useMinimalKeepRules=true
# Enable resource optimizations for release build # Enable resource optimizations for release build
android.enableResourceOptimizations=true android.enableResourceOptimizations=true
# Opt into new publishing APIs
android.disableAutomaticComponentCreation=true
# Default Android build features # Default Android build features
android.defaults.buildfeatures.buildconfig=false android.defaults.buildfeatures.buildconfig=false
android.defaults.buildfeatures.aidl=false android.defaults.buildfeatures.aidl=false

View File

@@ -46,7 +46,7 @@ build-binarycompat = "org.jetbrains.kotlinx:binary-compatibility-validator:0.8.0
build-dokka = "org.jetbrains.dokka:dokka-gradle-plugin:1.6.10" build-dokka = "org.jetbrains.dokka:dokka-gradle-plugin:1.6.10"
build-download = "de.undercouch:gradle-download-task:5.0.1" build-download = "de.undercouch:gradle-download-task:5.0.1"
build-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10" build-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.18.0" build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.19.0"
build-okhttp = "com.squareup.okhttp3:okhttp:4.9.3" build-okhttp = "com.squareup.okhttp3:okhttp:4.9.3"
build-r8 = "com.android.tools:r8:3.3.15-dev" build-r8 = "com.android.tools:r8:3.3.15-dev"
build-semver = "com.vdurmont:semver4j:3.1.0" build-semver = "com.vdurmont:semver4j:3.1.0"