build: upgrade Hilt

This commit is contained in:
Harsh Shandilya 2021-12-03 01:21:58 +05:30
parent 81e9926b72
commit 6be8b75b50
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 7 additions and 7 deletions

View file

@ -10,7 +10,7 @@ dependencies {
dependencySync("com.android.tools.build:gradle:7.0.3")
dependencySync("org.jetbrains.kotlinx:binary-compatibility-validator:0.8.0")
dependencySync("de.undercouch:gradle-download-task:4.1.2")
dependencySync("com.google.dagger:hilt-android-gradle-plugin:2.40.3")
dependencySync("com.google.dagger:hilt-android-gradle-plugin:2.40.4")
dependencySync("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0")
dependencySync("com.squareup.okhttp3:okhttp:4.9.3")
dependencySync("com.vdurmont:semver4j:3.1.0")
@ -58,9 +58,9 @@ dependencies {
dependencySync("androidx.compose.ui:ui-viewbinding:1.1.0-beta04")
// Dagger/Hilt dependencies
dependencySync("com.google.dagger:hilt-android:2.40.3")
dependencySync("com.google.dagger:hilt-compiler:2.40.3")
dependencySync("com.google.dagger:hilt-core:2.40.3")
dependencySync("com.google.dagger:hilt-android:2.40.4")
dependencySync("com.google.dagger:hilt-compiler:2.40.4")
dependencySync("com.google.dagger:hilt-core:2.40.4")
// Desugaring
dependencySync("com.android.tools:desugar_jdk_libs:1.1.5")

View file

@ -6,7 +6,7 @@ compose = "1.1.0-beta04"
composeSnapshot = "-"
coroutines = "1.6.0-RC"
flowbinding = "1.2.0"
hilt = "2.40.3"
hilt = "2.40.4"
kotlin = "1.6.0"
lifecycle = "2.4.0"
@ -68,7 +68,7 @@ kotlin-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-te
build-download = "de.undercouch:gradle-download-task:4.1.2"
build-hilt = "com.google.dagger:hilt-android-gradle-plugin:2.40.3"
build-hilt = "com.google.dagger:hilt-android-gradle-plugin:2.40.4"
dagger-hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
dagger-hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" }
dagger-hilt-core = { module = "com.google.dagger:hilt-core", version.ref = "hilt" }

View file

@ -14,7 +14,7 @@ pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.id == "dagger.hilt.android.plugin") {
useModule("com.google.dagger:hilt-android-gradle-plugin:2.40.3")
useModule("com.google.dagger:hilt-android-gradle-plugin:2.40.4")
}
}
}