-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (51 loc) · 1.73 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
plugins {
id 'java'
id 'groovy'
id 'org.springframework.boot' version '3.1.3'
id 'io.spring.dependency-management' version '1.1.3'
id "se.thinkcode.cucumber-runner" version "0.0.8"
}
group = 'com.majcher'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.cloud:spring-cloud-dependencies:2022.0.4'
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign:4.0.4'
implementation 'org.apache.groovy:groovy:4.0.15'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.spockframework:spock-core:2.4-M1-groovy-4.0'
testImplementation 'org.spockframework:spock-spring:2.4-M1-groovy-4.0'
testImplementation 'io.cucumber:cucumber-java:7.14.0'
testImplementation 'io.cucumber:cucumber-junit:7.14.0'
testImplementation 'io.cucumber:cucumber-spring:7.14.0'
}
tasks.named('test') {
useJUnitPlatform()
}
//configurations {
// cucumberRuntime {
// extendsFrom testImplementation
// }
//}
//
//task cucumberCli() {
// dependsOn assemble, testClasses
// doLast {
// javaexec {
// main = "io.cucumber.core.cli.Main"
// classpath = configurations.cucumberRuntime + sourceSets.main.output + sourceSets.test.output
// args = [
// '--plugin', 'pretty',
// '--plugin', 'html:target/cucumber-report.html',
// '--glue', 'com.baeldung.cucumber',
// 'src/test/resources']
// }
// }
//}