-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Gradle plugin does not work with Configuration Cache #28
Comments
Fixed and released in |
@PatilShreyas This still seems to be an issue, but another one. On this branch i have configuration cache enabled: https://github.com/jakoss/AndroidArchitectureTemplate/blob/feature/compose-compiler-html-reports/gradle.properties When i try to run
When i disable configuration cache it works correctly (and the result is awesome) |
Okay @jakoss. I guess when configuration cache is enabled, that tasks for generating reports are not maybe registered (because they're only registered after evaluating android build variants). But will definitely look into this. Thanks! |
I faced this issue and added
|
I get the following error when I try to run the report task. The report gets generated but the build still fails.
Think the fix should be removing the reference to project.layout and use some other accessor to get a correct location to get the report folder. |
When will it support Gradle configuration cache? |
By taking projectDirectory as a task parameter removes dependency of project env when task is actually getting executed which can further support this plugin in project where configuration cache is enabled. See: #28 (comment)
Released in v1.3.1 🚀. Try it out and let me know if it works or not. |
When trying to run the plugins tasks with configuration cache enabled i get this error:
The text was updated successfully, but these errors were encountered: