summaryrefslogtreecommitdiff
path: root/build-logic
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-04-23 14:53:24 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-04-23 14:53:24 +0530
commit57be46b5904a7dcc79880b03abac20904ba75625 (patch)
treee2740749a3b3b18f5e96a94668f94741e027eb9c /build-logic
parent3c79106748b62bfe29eed7b50adeeba3e9045b9b (diff)
chore(build): simplify library release signing setup
Diffstat (limited to 'build-logic')
-rw-r--r--build-logic/src/main/kotlin/app/passwordstore/gradle/PublishedAndroidLibraryPlugin.kt11
1 files changed, 0 insertions, 11 deletions
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<Project> {
@@ -22,20 +19,12 @@ class PublishedAndroidLibraryPlugin : Plugin<Project> {
project.plugins.run {
apply(LibraryPlugin::class)
apply(MavenPublishPlugin::class)
- apply(SigningPlugin::class)
apply("me.tylerbwong.gradle.metalava")
}
project.extensions.configure<MavenPublishBaseExtension> {
publishToMavenCentral(SonatypeHost.DEFAULT, true)
signAllPublications()
}
- project.afterEvaluate {
- project.extensions.configure<SigningExtension> {
- val signingKey: String? by project
- val signingPassword: String? by project
- useInMemoryPgpKeys(signingKey, signingPassword)
- }
- }
project.extensions.configure<MetalavaExtension> {
documentation.set(Documentation.PUBLIC)
inputKotlinNulls.set(true)