aboutsummaryrefslogtreecommitdiff
path: root/build-logic/android-plugins
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2022-06-02 20:20:28 +0000
committerGitHub <noreply@github.com>2022-06-02 20:20:28 +0000
commit1f3d597bc1f7931eb51b06c65be17556469f0549 (patch)
treeb2023a30b8c032a8314bf6a8a7afb7440fc6ec8f /build-logic/android-plugins
parent7b2781707b7a417d705075e9ea8a7a3501ef5cae (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')
-rw-r--r--build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts17
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()
}