mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-09-02 15:25:39 +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.
|
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
|
||||||
* SPDX-License-Identifier: GPL-3.0-only
|
* SPDX-License-Identifier: GPL-3.0-only
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
buildscript {
|
||||||
|
repositories { mavenCentral() }
|
||||||
|
dependencies { classpath(libs.build.hilt) }
|
||||||
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.github.android-password-store.kotlin-common")
|
id("com.github.android-password-store.kotlin-common")
|
||||||
id("com.github.android-password-store.binary-compatibility")
|
id("com.github.android-password-store.binary-compatibility")
|
||||||
|
@@ -11,13 +11,6 @@ pluginManagement {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
}
|
}
|
||||||
resolutionStrategy {
|
|
||||||
eachPlugin {
|
|
||||||
if (requested.id.id == "dagger.hilt.android.plugin") {
|
|
||||||
useModule("com.google.dagger:hilt-android-gradle-plugin:2.40.4")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.vanniktech.maven.publish") version "0.18.0" apply false
|
id("com.vanniktech.maven.publish") version "0.18.0" apply false
|
||||||
id("org.jetbrains.dokka") version "1.6.0" apply false
|
id("org.jetbrains.dokka") version "1.6.0" apply false
|
||||||
|
Reference in New Issue
Block a user