Created
July 17, 2020 09:32
-
-
Save kaszabimre/4fdf2582d7e2472ef77f9cc9c7d4ca4e to your computer and use it in GitHub Desktop.
Add Hilt dependency to your app/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.... | |
apply plugin: 'kotlin-kapt' | |
apply plugin: 'dagger.hilt.android.plugin' | |
.... | |
dependencies { | |
.... | |
implementation "androidx.hilt:hilt-lifecycle-viewmodel:$hilt_jetpack_version" | |
kapt "androidx.hilt:hilt-compiler:$hilt_jetpack_version" | |
implementation "com.google.dagger:hilt-android:$hilt_version" | |
kapt "com.google.dagger:hilt-android-compiler:$hilt_version" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment