Created
June 19, 2020 00:43
-
-
Save Zhuinden/c91cc721fd8ba5fe60f63e88b3abe682 to your computer and use it in GitHub Desktop.
Hilt alpha setup
This file contains hidden or 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
// dagger | |
implementation 'com.google.dagger:dagger:2.28' | |
kapt 'com.google.dagger:dagger-compiler:2.28' | |
// hilt | |
implementation 'com.google.dagger:hilt-android:2.28-alpha' | |
kapt 'com.google.dagger:hilt-android-compiler:2.28-alpha' | |
kaptAndroidTest 'com.google.dagger:hilt-android-compiler:2.28-alpha' | |
kaptTest 'com.google.dagger:hilt-android-compiler:2.28-alpha' | |
implementation 'androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha01' | |
kapt 'androidx.hilt:hilt-compiler:1.0.0-alpha01' | |
// add plugin | |
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.28-alpha' | |
// apply plugin | |
apply plugin: 'dagger.hilt.android.plugin' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment