You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have a project with both the scoverage plugin and the application plugin, and I run this:
./gradlew installDist reportTestScoverage
Then the build fails with:
Some problems were found with the configuration of task ':reportTestScoverage' (type 'ScoverageReport').
- Gradle detected a problem with the following location: '/Users/dsilva/src/example-project'.
Reason: Task ':reportTestScoverage' uses this output of task ':installDist' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':installDist' as an input of ':reportTestScoverage'.
2. Declare an explicit dependency on ':installDist' from ':reportTestScoverage' using Task#dependsOn.
3. Declare an explicit dependency on ':installDist' from ':reportTestScoverage' using Task#mustRunAfter.
Please refer to https://docs.gradle.org/8.0/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '/Users/dsilva/src/example-project'.
Reason: Task ':reportTestScoverage' uses this output of task ':startScripts' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':startScripts' as an input of ':reportTestScoverage'.
2. Declare an explicit dependency on ':startScripts' from ':reportTestScoverage' using Task#dependsOn.
3. Declare an explicit dependency on ':startScripts' from ':reportTestScoverage' using Task#mustRunAfter.
Please refer to https://docs.gradle.org/8.0/userguide/validation_problems.html#implicit_dependency for more details about this problem.
I'm working around it with what the error message suggested:
I just noticed an issue similar to #163
When I have a project with both the scoverage plugin and the
application
plugin, and I run this:Then the build fails with:
I'm working around it with what the error message suggested:
but it seems like the scoverage plugin might be using the project root dir unnecessarily?
The text was updated successfully, but these errors were encountered: