summaryrefslogtreecommitdiff
path: root/build-logic/automation-plugins/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-29 01:54:29 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-12-03 12:59:57 +0530
commit70cdd6179744468ff18c16dc9d131130801fbb5b (patch)
tree16faf5071606f789d6a0bfc384c230df7661fce4 /build-logic/automation-plugins/build.gradle.kts
parentdfee170bd813d267272d0d4a8c64a4cbef965619 (diff)
build-logic: add crowdin and psl convention plugins
Diffstat (limited to 'build-logic/automation-plugins/build.gradle.kts')
-rw-r--r--build-logic/automation-plugins/build.gradle.kts28
1 files changed, 27 insertions, 1 deletions
diff --git a/build-logic/automation-plugins/build.gradle.kts b/build-logic/automation-plugins/build.gradle.kts
index e28b0255..2375262a 100644
--- a/build-logic/automation-plugins/build.gradle.kts
+++ b/build-logic/automation-plugins/build.gradle.kts
@@ -1 +1,27 @@
-plugins { `kotlin-dsl` }
+/*
+ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+plugins {
+ `kotlin-dsl`
+ `kotlin-dsl-precompiled-script-plugins`
+}
+
+gradlePlugin {
+ plugins {
+ register("crowdin") {
+ id = "com.github.android-password-store.crowdin-plugin"
+ implementationClass = "crowdin.CrowdinDownloadPlugin"
+ }
+ register("psl") {
+ id = "com.github.android-password-store.psl-plugin"
+ implementationClass = "psl.PublicSuffixListPlugin"
+ }
+ }
+}
+
+dependencies {
+ implementation(libs.build.download)
+ implementation(libs.build.okhttp)
+}