use of org.gradle.internal.jacoco.AntJacocoReport in project gradle by gradle.
the class JacocoReport method generate.
@TaskAction
public void generate() {
final Spec<File> fileExistsSpec = new Spec<File>() {
@Override
public boolean isSatisfiedBy(File file) {
return file.exists();
}
};
new AntJacocoReport(getAntBuilder()).execute(getJacocoClasspath(), getProject().getName(), getAllClassDirs().filter(fileExistsSpec), getAllSourceDirs().filter(fileExistsSpec), getExecutionData(), getReports());
}
Aggregations