Lauren Yew
05/05/2022, 6:24 PMapp:hiltJavaCompileDebugUnitTest step when adding @HiltAndroidApp to an Application?
We migrated from Dagger to using Hilt, and suddenly even an example basic empty unit test is failing trying to build the HiltAndroidApp but it's confusing b/c the unit tests shouldn't need Hilt and we're not testing a class that is using Hilt. Thanks!
Error:
error: cannot find symbol return DaggerApplication_HiltComponents_SingletonC.builder()
^
symbol: variable DaggerApplication_HiltComponents_SingletonCColton Idle
05/06/2022, 12:03 AMLauren Yew
05/06/2022, 3:03 PMapp:hiltJavaCompileDebugUnitTest step, return NO_SOURCE and skip the step. No idea why our project is running the step...Lauren Yew
05/09/2022, 8:29 PMapply plugin: 'com.android.library'. We could have fixed it by changing the module to be an android app with apply plugin: 'com.android.application', but instead we moved the @HiltAndroidApp annotation out into our actual application gradle module.Colton Idle
05/10/2022, 2:17 AM