Skip to content

Commit 748b186

Browse files
committed
Don't run jacoco on EA as it breaks its assembly parser
1 parent 4d6d31b commit 748b186

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

build.gradle

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -262,18 +262,21 @@ tasks.withType(Test) {
262262
}
263263
}
264264

265-
jacocoTestReport {
266-
dependsOn test
267-
dependsOn testNG
268-
269-
reports {
270-
xml.required.set(true)
271-
csv.required.set(false)
272-
html.required.set(true)
265+
if (experiment == null || "".equals(experiment)) {
266+
jacocoTestReport {
267+
dependsOn test
268+
dependsOn testNG
269+
270+
reports {
271+
xml.required.set(true)
272+
csv.required.set(false)
273+
html.required.set(true)
274+
}
273275
}
276+
277+
check.dependsOn jacocoTestReport
274278
}
275279

276-
check.dependsOn jacocoTestReport
277280

278281
checkstyle {
279282
configFile = project.file("config/checkstyle/checkstyle.xml")

0 commit comments

Comments
 (0)