aboutsummaryrefslogtreecommitdiff
path: root/build-logic/android-plugins/src
diff options
context:
space:
mode:
Diffstat (limited to 'build-logic/android-plugins/src')
-rw-r--r--build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.android-library.gradle.kts11
-rw-r--r--build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts22
2 files changed, 22 insertions, 11 deletions
diff --git a/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.android-library.gradle.kts b/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.android-library.gradle.kts
index 993bc2a4..cb6d8a40 100644
--- a/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.android-library.gradle.kts
+++ b/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.android-library.gradle.kts
@@ -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)
- }
-}
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
new file mode 100644
index 00000000..85ebdbe3
--- /dev/null
+++ b/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts
@@ -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)
+ }
+}