Miscellaneous build and CI cleanups (#1587)
This commit is contained in:
parent
b59c4f068c
commit
7d39bc0ae2
10 changed files with 40 additions and 29 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue