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>
This commit is contained in:
renovate[bot] 2022-06-02 20:20:28 +00:00 committed by GitHub
parent 7b2781707b
commit 1f3d597bc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 10 deletions

View file

@ -4,7 +4,6 @@
*/ */
import com.vanniktech.maven.publish.AndroidSingleVariantLibrary import com.vanniktech.maven.publish.AndroidSingleVariantLibrary
import com.vanniktech.maven.publish.MavenPublishBaseExtension
import com.vanniktech.maven.publish.SonatypeHost import com.vanniktech.maven.publish.SonatypeHost
import org.gradle.kotlin.dsl.provideDelegate import org.gradle.kotlin.dsl.provideDelegate
@ -14,15 +13,15 @@ plugins {
id("signing") id("signing")
} }
group = requireNotNull(project.findProperty("GROUP"))
version = requireNotNull(project.findProperty("VERSION_NAME"))
@Suppress("UnstableApiUsage") @Suppress("UnstableApiUsage")
configure<MavenPublishBaseExtension> { mavenPublishing {
group = requireNotNull(project.findProperty("GROUP"))
version = requireNotNull(project.findProperty("VERSION_NAME"))
mavenPublishing {
publishToMavenCentral(SonatypeHost.DEFAULT) publishToMavenCentral(SonatypeHost.DEFAULT)
signAllPublications() signAllPublications()
configure(AndroidSingleVariantLibrary()) configure(AndroidSingleVariantLibrary())
}
pomFromGradleProperties() pomFromGradleProperties()
} }

View file

@ -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-binarycompat = "org.jetbrains.kotlinx:binary-compatibility-validator:0.10.0"
build-download = "de.undercouch:gradle-download-task:5.1.0" build-download = "de.undercouch:gradle-download-task:5.1.0"
build-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21" 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-okhttp = "com.squareup.okhttp3:okhttp:4.9.3"
build-semver = "com.vdurmont:semver4j:3.1.0" 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" build-sentry = "io.sentry.android.gradle:io.sentry.android.gradle.gradle.plugin:3.1.0-beta.2"