Skip to content

Commit d27d555

Browse files
authored
add cucumberjvm 7 (fixes #684, via #683)
1 parent 156812d commit d27d555

34 files changed

Lines changed: 2356 additions & 1 deletion
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
description = "Allure CucumberJVM 7.0"
2+
3+
val cucumberVersion = "7.0.0"
4+
val cucumberGherkinVersion = "22.0.0"
5+
6+
dependencies {
7+
api(project(":allure-java-commons"))
8+
compileOnly("io.cucumber:cucumber-plugin:$cucumberVersion")
9+
implementation("io.cucumber:gherkin:$cucumberGherkinVersion")
10+
testImplementation("io.cucumber:gherkin:$cucumberGherkinVersion")
11+
testImplementation("io.cucumber:cucumber-core:$cucumberVersion")
12+
testImplementation("io.cucumber:cucumber-java:$cucumberVersion")
13+
testImplementation("commons-io:commons-io")
14+
testImplementation("io.github.glytching:junit-extensions")
15+
testImplementation("org.assertj:assertj-core")
16+
testImplementation("org.junit.jupiter:junit-jupiter-api")
17+
testImplementation("org.slf4j:slf4j-simple")
18+
testImplementation(project(":allure-java-commons-test"))
19+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
20+
}
21+
22+
tasks.jar {
23+
manifest {
24+
attributes(mapOf(
25+
"Automatic-Module-Name" to "io.qameta.allure.cucumber7jvm"
26+
))
27+
}
28+
}
29+
30+
tasks.test {
31+
useJUnitPlatform()
32+
}

0 commit comments

Comments
 (0)