-
Notifications
You must be signed in to change notification settings - Fork 51
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
RoomSchema workaround not working as expected #376
Comments
Hi @vikasraimeesho , we have tested the RoomSchema workaround with Gradle 7.3.3 and AGP 7.2.2. Can you clarify what you mean by "not working". What was the expected result and what actually happened? Where does this message you are sharing come from? |
@runningcode I was under the impression cache fix plugin will fix this issue. Not sure if its really related to cache fix plugin or dagger hilt issue. Looks like hiltJavaCompileDebug and compileDebugJavaWithJavac trying to use the same output directory. |
This is a bug in the Hilt Gradle Plugin. It copies See this bug for more details: google/dagger#3546 Could you try using the task configuration avoidance API in your project to see if the overlapping outputs goes away? |
Thanks for the clarification. Sure, I'll try this. |
Do you mean to use task configuration avoidance api for hiltJavaCompileDebug? But here in the code they're using task configuration avoidance api. |
I mean in your buildscript source code as well as all your third party plugins, make sure that none are using eager task configuration in order to avoid this issue. |
hi, Hilt team merged the fix google/dagger@b7c0d3e creating a new |
@cdsap Thanks for the update |
Hi @vikasraimeesho Before: Closing the issue |
I have added the room workaround block in the app module but looks like its not working.
Here are the details
The text was updated successfully, but these errors were encountered: