Skip to content
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

Task uses this output of task without declaring an explicit or implicit dependency #196

Open
OrangeDog opened this issue Jun 25, 2021 · 2 comments

Comments

@OrangeDog
Copy link

With Gradle 7, this plugin generates a huge number of warnings

> Task :app:jacocoTestReportRelease
Execution optimizations have been disabled for task ':app:jacocoTestReportRelease' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: 'myproj\app\build'. Reason: Task ':app:jacocoTestReportRelease' uses this output of task ':app:checkDebugAarMetadata' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.0.2/userguide/validation_problems.html#implicit_dependency for more details about this problem. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. Execution optimizations are disabled to ensure correctness. See https://docs.gradle.org/7.0.2/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.

There are ~50 dependencies like this for each of the plugin's tasks, and they're reported in both directions.

@OrangeDog
Copy link
Author

Related? gradle/gradle#16927
Is this plugin replaced by a builtin version?

@vanniktech
Copy link
Owner

I haven't followed recent jacoco changes that were done in Gradle - so I honestly don't know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants