Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions servlet/jakarta/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
tasks.named("check").configure {
dependsOn jetty11Test
}
tasks.named("jacocoTestReport").configure {
// Must use executionData(Task...) override. The executionData(Object...) override doesn't
// find execution data correctly for tasks.
executionData jetty11Test.get()
}
}
if (JavaVersion.current().isJava11Compatible()) {
def tomcat10Test = tasks.register('tomcat10Test', Test) {
Expand Down Expand Up @@ -150,4 +155,9 @@ if (JavaVersion.current().isJava11Compatible()) {
tasks.named("check").configure {
dependsOn tomcat10Test, undertowTest
}
tasks.named("jacocoTestReport").configure {
// Must use executionData(Task...) override. The executionData(Object...) override doesn't
// find execution data correctly for tasks.
executionData tomcat10Test.get(), undertowTest.get()
}
}
Loading