We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5870c9 commit 2e52377Copy full SHA for 2e52377
src/main/groovy/org/scoverage/ScoveragePlugin.groovy
@@ -161,8 +161,8 @@ class ScoveragePlugin implements Plugin<PluginAware> {
161
it instanceof ScalaCompile
162
}
163
originalCompilationDependencies.each {
164
- def dependencyProjectCompileTask = it.project.tasks[COMPILE_NAME]
165
- def dependencyProjectReportTask = it.project.tasks[REPORT_NAME]
+ def dependencyProjectCompileTask = it.project.tasks.findByName(COMPILE_NAME)
+ def dependencyProjectReportTask = it.project.tasks.findByName(REPORT_NAME)
166
if (dependencyProjectCompileTask != null) {
167
compileTask.dependsOn(dependencyProjectCompileTask)
168
// we don't want this project's tests to affect the other project's report
0 commit comments