summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts6
-rw-r--r--settings.gradle.kts7
2 files changed, 6 insertions, 7 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 7b375b6b..e44d8c2b 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -2,6 +2,12 @@
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
* SPDX-License-Identifier: GPL-3.0-only
*/
+
+buildscript {
+ repositories { mavenCentral() }
+ dependencies { classpath(libs.build.hilt) }
+}
+
plugins {
id("com.github.android-password-store.kotlin-common")
id("com.github.android-password-store.binary-compatibility")
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 5b91b26c..6c600dc7 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -11,13 +11,6 @@ pluginManagement {
mavenCentral()
gradlePluginPortal()
}
- resolutionStrategy {
- eachPlugin {
- if (requested.id.id == "dagger.hilt.android.plugin") {
- useModule("com.google.dagger:hilt-android-gradle-plugin:2.40.4")
- }
- }
- }
plugins {
id("com.vanniktech.maven.publish") version "0.18.0" apply false
id("org.jetbrains.dokka") version "1.6.0" apply false