File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,6 +122,11 @@ if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
122122 tasks. named(" check" ). configure {
123123 dependsOn jetty11Test
124124 }
125+ tasks. named(" jacocoTestReport" ). configure {
126+ // Must use executionData(Task...) override. The executionData(Object...) override doesn't
127+ // find execution data correctly for tasks.
128+ executionData jetty11Test. get()
129+ }
125130}
126131if (JavaVersion . current(). isJava11Compatible()) {
127132 def tomcat10Test = tasks. register(' tomcat10Test' , Test ) {
@@ -150,4 +155,9 @@ if (JavaVersion.current().isJava11Compatible()) {
150155 tasks. named(" check" ). configure {
151156 dependsOn tomcat10Test, undertowTest
152157 }
158+ tasks. named(" jacocoTestReport" ). configure {
159+ // Must use executionData(Task...) override. The executionData(Object...) override doesn't
160+ // find execution data correctly for tasks.
161+ executionData tomcat10Test. get(), undertowTest. get()
162+ }
153163}
You can’t perform that action at this time.
0 commit comments