From 57be46b5904a7dcc79880b03abac20904ba75625 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 23 Apr 2023 14:53:24 +0530 Subject: chore(build): simplify library release signing setup --- .../app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'build-logic/src') diff --git a/build-logic/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt b/build-logic/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt index a0342698..17ab5431 100644 --- a/build-logic/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt +++ b/build-logic/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt @@ -11,9 +11,6 @@ import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.kotlin.dsl.apply import org.gradle.kotlin.dsl.configure -import org.gradle.kotlin.dsl.provideDelegate -import org.gradle.plugins.signing.SigningExtension -import org.gradle.plugins.signing.SigningPlugin @Suppress("Unused") class PublishedAndroidLibraryPlugin : Plugin { @@ -22,20 +19,12 @@ class PublishedAndroidLibraryPlugin : Plugin { project.plugins.run { apply(LibraryPlugin::class) apply(MavenPublishPlugin::class) - apply(SigningPlugin::class) apply("me.tylerbwong.gradle.metalava") } project.extensions.configure { publishToMavenCentral(SonatypeHost.DEFAULT, true) signAllPublications() } - project.afterEvaluate { - project.extensions.configure { - val signingKey: String? by project - val signingPassword: String? by project - useInMemoryPgpKeys(signingKey, signingPassword) - } - } project.extensions.configure { documentation.set(Documentation.PUBLIC) inputKotlinNulls.set(true) -- cgit v1.2.3