aboutsummaryrefslogtreecommitdiff
path: root/buildSrc/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'buildSrc/build.gradle.kts')
-rw-r--r--buildSrc/build.gradle.kts21
1 files changed, 20 insertions, 1 deletions
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
index 3457e2c2..2c721629 100644
--- a/buildSrc/build.gradle.kts
+++ b/buildSrc/build.gradle.kts
@@ -1,11 +1,30 @@
+apply(from = "buildDependencies.gradle")
+val build: Map<Any, Any> by extra
+
plugins {
`kotlin-dsl`
}
repositories {
- jcenter()
+ google()
+ gradlePluginPortal()
}
kotlinDslPluginOptions {
experimentalWarning.set(false)
}
+
+gradlePlugin {
+ plugins {
+ register("aps") {
+ id = "aps-plugin"
+ implementationClass = "PasswordStorePlugin"
+ }
+ }
+}
+
+dependencies {
+ implementation(build.getValue("kotlinGradlePlugin"))
+ implementation(build.getValue("androidGradlePlugin"))
+ implementation(build.getValue("binaryCompatibilityValidator"))
+}