Skip to content

Instantly share code, notes, and snippets.

@Nyame123
Created June 12, 2021 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nyame123/d7ee9e31e8ffd833b85bb52c9525a6c6 to your computer and use it in GitHub Desktop.
Save Nyame123/d7ee9e31e8ffd833b85bb52c9525a6c6 to your computer and use it in GitHub Desktop.
dependencies {
// For Robolectric tests.
testImplementation("com.google.dagger:hilt-android-testing:2.28-alpha")
// ...with Kotlin.
kaptTest("com.google.dagger:hilt-android-compiler:2.28-alpha")
// ...with Java.
testAnnotationProcessor("com.google.dagger:hilt-android-compiler:2.28-alpha")
// For instrumented tests.
androidTestImplementation("com.google.dagger:hilt-android-testing:2.28-alpha")
// ...with Kotlin.
kaptAndroidTest("com.google.dagger:hilt-android-compiler:2.28-alpha")
// ...with Java.
androidTestAnnotationProcessor("com.google.dagger:hilt-android-compiler:2.28-alpha")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment