-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.35 stopped supporting an additional @HiltAndroidApp
in /androidTest
sources
#2577
Comments
Hey Adam, Sorry about this (just realized we forgot to add this to the release notes too)! Your use case sounds valid, and we can add a compiler flag to opt-out of this validation. Just to make sure I understand your use case -- your |
Correct. We are not mixing |
Try setting it via javacOptions. See #2684 (comment) for an example. |
This commit introduced validation that now disallows both
/main
and/androidTest
from containing@HiltAndroidApp
roots.We currently have this configuration to support a large suite of pre-Hilt tests. We're working on migrating everything but the change in semantics is quite a hurdle for us.
Could we get an opt-out path? Either a compiler flag or annotation like
@DisableInstallInCheck
?The text was updated successfully, but these errors were encountered: