Open
Description
Please check this Gradle issue: gradle/gradle#15730
In short, if org.gradle.parallel=true
project property is set, using the Scoverage plugin in a multi-project build with compilation dependencies between projects will result in an exception:
A problem occurred configuring project ':first'.
> Could not determine the dependencies of task ':second:compileJava'.
> Current thread does not hold the state lock for project :second
This project reproduces the error.
The cause of the error is apparently this portion of the plugin's logic:
gradle-scoverage/src/main/groovy/org/scoverage/ScoveragePlugin.groovy
Lines 159 to 161 in f92c942
which causes some internal invariants in Gradle to fail due to cross-project access.
Metadata
Metadata
Assignees
Labels
No labels