all: use Dagger Hilt VM injection

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-01-18 18:46:19 +05:30
parent e9a55cc1db
commit 19c5bac6d3
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
6 changed files with 8 additions and 13 deletions

View file

@ -3,7 +3,6 @@
* SPDX-License-Identifier: GPL-3.0-only
*/
private const val ANDROIDX_HILT_VERSION = "1.0.0-alpha02"
private const val DAGGER_HILT_VERSION = "2.31-alpha"
object Dependencies {
@ -44,9 +43,6 @@ object Dependencies {
object Hilt {
const val dagger = "com.google.dagger:hilt-android:$DAGGER_HILT_VERSION"
const val daggerCompiler = "com.google.dagger:hilt-compiler:$DAGGER_HILT_VERSION"
const val daggerHiltCompiler = "androidx.hilt:hilt-compiler:$ANDROIDX_HILT_VERSION"
const val hiltLifecycleViewmodel =
"androidx.hilt:hilt-lifecycle-viewmodel:$ANDROIDX_HILT_VERSION"
}
object Lifecycle {