diff options
author | renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> | 2022-06-02 20:20:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 20:20:28 +0000 |
commit | 1f3d597bc1f7931eb51b06c65be17556469f0549 (patch) | |
tree | b2023a30b8c032a8314bf6a8a7afb7440fc6ec8f /build-logic/android-plugins/src | |
parent | 7b2781707b7a417d705075e9ea8a7a3501ef5cae (diff) |
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>
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.kts | 17 |
1 files changed, 8 insertions, 9 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 0600e54f..5f2c51f3 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 @@ -4,7 +4,6 @@ */ import com.vanniktech.maven.publish.AndroidSingleVariantLibrary -import com.vanniktech.maven.publish.MavenPublishBaseExtension import com.vanniktech.maven.publish.SonatypeHost import org.gradle.kotlin.dsl.provideDelegate @@ -14,15 +13,15 @@ plugins { id("signing") } +group = requireNotNull(project.findProperty("GROUP")) + +version = requireNotNull(project.findProperty("VERSION_NAME")) + @Suppress("UnstableApiUsage") -configure<MavenPublishBaseExtension> { - group = requireNotNull(project.findProperty("GROUP")) - version = requireNotNull(project.findProperty("VERSION_NAME")) - mavenPublishing { - publishToMavenCentral(SonatypeHost.DEFAULT) - signAllPublications() - configure(AndroidSingleVariantLibrary()) - } +mavenPublishing { + publishToMavenCentral(SonatypeHost.DEFAULT) + signAllPublications() + configure(AndroidSingleVariantLibrary()) pomFromGradleProperties() } |