Miscellaneous build and CI cleanups (#1587)

This commit is contained in:
Harsh Shandilya 2021-12-11 00:12:54 +05:30 committed by GitHub
parent b59c4f068c
commit 7d39bc0ae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 40 additions and 29 deletions

View file

@ -3,18 +3,7 @@
* SPDX-License-Identifier: GPL-3.0-only
*/
import org.gradle.kotlin.dsl.provideDelegate
import org.gradle.plugins.signing.SigningExtension
plugins {
id("com.android.library")
id("com.github.android-password-store.android-common")
}
afterEvaluate {
extensions.configure<SigningExtension> {
val signingKey: String? by project
val signingPassword: String? by project
useInMemoryPgpKeys(signingKey, signingPassword)
}
}

View file

@ -0,0 +1,22 @@
/*
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
import org.gradle.kotlin.dsl.configure
import org.gradle.kotlin.dsl.provideDelegate
import org.gradle.plugins.signing.SigningExtension
plugins {
id("com.github.android-password-store.android-library")
id("com.vanniktech.maven.publish")
id("org.jetbrains.dokka")
}
afterEvaluate {
extensions.configure<SigningExtension> {
val signingKey: String? by project
val signingPassword: String? by project
useInMemoryPgpKeys(signingKey, signingPassword)
}
}