Last active
November 21, 2020 20:50
-
-
Save princessdharmy/5211a06c465a4519e718b9c018c66af0 to your computer and use it in GitHub Desktop.
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' | |
android { | |
... | |
} | |
dependencies { | |
implementation "com.google.dagger:hilt-android:${Versions.hiltVersion}" | |
kapt "com.google.dagger:hilt-android-compiler:${Versions.hiltVersion}" | |
// To integrate with ViewModel | |
implementation "androidx.hilt:hilt-lifecycle-viewmodel:${Versions.hiltJetpackVersion}" | |
kapt "androidx.hilt:hilt-compiler:${Versions.hiltJetpackVersion}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment