mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 13:57:47 +00:00
build: use Hilt through buildscript classpath
This commit is contained in:
@@ -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")
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user