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:
parent
c22dc51442
commit
8f2c5cfccb
3 changed files with 20 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -42,6 +42,9 @@ android.useMinimalKeepRules=true
|
|||
# Enable resource optimizations for release build
|
||||
android.enableResourceOptimizations=true
|
||||
|
||||
# Opt into new publishing APIs
|
||||
android.disableAutomaticComponentCreation=true
|
||||
|
||||
# Default Android build features
|
||||
android.defaults.buildfeatures.buildconfig=false
|
||||
android.defaults.buildfeatures.aidl=false
|
||||
|
|
|
@ -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-download = "de.undercouch:gradle-download-task:5.0.1"
|
||||
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-r8 = "com.android.tools:r8:3.3.15-dev"
|
||||
build-semver = "com.vdurmont:semver4j:3.1.0"
|
||||
|
|
Loading…
Reference in a new issue