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 7dfcf94 commit 14b953bCopy full SHA for 14b953b
src/main/groovy/org/scoverage/ScoverageExtension.groovy
@@ -151,7 +151,8 @@ class ScoverageExtension {
151
}
152
153
t.tasks[ScoveragePlugin.REPORT_NAME].configure {
154
- classpath = project.buildscript.configurations.classpath + configuration
+ def classLocation = ScoverageExtension.class.getProtectionDomain().getCodeSource().getLocation()
155
+ classpath = project.files(classLocation.file) + configuration
156
main = 'org.scoverage.ScoverageReport'
157
args = [
158
extension.sources,
0 commit comments