Scott Hickey
2011-03-23 19:26:11 UTC
I have the following at the top of my build.gradle file:
apply plugin: 'groovy'
apply plugin: 'idea'
apply from: 'https://github.com/valkolovos/gradle_cobertura/raw/master/ivy/gradle_cobertura/gradle_cobertura/1.0-rc4/coberturainit.gradle'
After running 'gradle cobertura', I open the coverage reports and try
to drill down into them. On the all of the pages, I see messages like:
Unable to locate Importer.groovy. Have you specified the source directory?
I tried adding the following to my build.gradle file but still have
the same problem:
cobertura {
coverageSourceDirs = ["${project.sourceSets.main.groovy.srcDirs}"]
}
My groovy source files are in src/main/groovy.
Thanks,
Scott Hickey
apply plugin: 'groovy'
apply plugin: 'idea'
apply from: 'https://github.com/valkolovos/gradle_cobertura/raw/master/ivy/gradle_cobertura/gradle_cobertura/1.0-rc4/coberturainit.gradle'
After running 'gradle cobertura', I open the coverage reports and try
to drill down into them. On the all of the pages, I see messages like:
Unable to locate Importer.groovy. Have you specified the source directory?
I tried adding the following to my build.gradle file but still have
the same problem:
cobertura {
coverageSourceDirs = ["${project.sourceSets.main.groovy.srcDirs}"]
}
My groovy source files are in src/main/groovy.
Thanks,
Scott Hickey