Import and setup Hilt for dependency injection

Considering we will be having a room database instance soon for downloads
and already have tons of other instances everywhere, feels right time to
use Hilt to manage them to avoid more memory leaks.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2023-12-04 11:13:37 +05:30
parent 61f030d124
commit 7420c96b86
72 changed files with 160 additions and 37 deletions

View File

@@ -27,4 +27,5 @@ plugins {
id("androidx.navigation.safeargs.kotlin") version "2.7.5" apply false
id("org.jlleitschuh.gradle.ktlint") version "11.6.1" apply false
id("dev.rikka.tools.refine") version "4.4.0" apply false
id("com.google.dagger.hilt.android") version "2.49" apply false
}