Skip to content

Commit 61d8d6e

Browse files
committed
fix build
1 parent df55813 commit 61d8d6e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

allure-junit-platform/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ tasks.jar {
2929
}
3030

3131
tasks.test {
32+
// The Allure Gradle adapter adds this module's published artifact to the
33+
// test runtime classpath, so make the jar/task relationship explicit when
34+
// jar and test are scheduled in the same build.
35+
dependsOn(tasks.jar)
3236
systemProperty("junit.jupiter.execution.parallel.enabled", "false")
3337
useJUnitPlatform()
3438
exclude("**/features/*")

0 commit comments

Comments
 (0)