File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ tasks.check {
155155
156156tasks.jacocoTestReport {
157157 dependsOn(tasks.test, integrationTest) // tests are required to run before generating the report
158- executionData(fileTree(layout.buildDirectory).include(" /jacoco/*.exec" ))
158+ executionData(fileTree(layout.buildDirectory).include(" /jacoco/*.exec" ).exclude( " /jacoco/testNative.exec " ) )
159159 doFirst {
160160 logger.lifecycle(" Excluding generated classes: ${classesToExclude} " )
161161 }
@@ -175,7 +175,7 @@ val classesToExclude = listOf(
175175)
176176
177177tasks.jacocoTestCoverageVerification {
178- executionData(fileTree(layout.buildDirectory).include(" /jacoco/*.exec" ))
178+ executionData(fileTree(layout.buildDirectory).include(" /jacoco/*.exec" ).exclude( " /jacoco/testNative.exec " ) )
179179 classDirectories.setFrom(
180180 files(classDirectories.files.map { fileTree(it) { exclude(classesToExclude) } })
181181 )
You can’t perform that action at this time.
0 commit comments