-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
65 lines (51 loc) · 1.54 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
59
60
61
62
63
64
apply plugin: 'java'
repositories {
mavenCentral()
mavenLocal()
}
sourceSets {
main {
java {
srcDir 'src/main/java'
srcDir 'src/main/resources'
}
}
test {
java {
srcDir 'src/test/unit'
srcDir 'src/test/cucumber'
srcDir 'src/test/integration'
srcDir 'src/test/resources'
}
}
}
configurations {
cucumberRuntime {
extendsFrom testRuntime
}
}
task cucumber() {
dependsOn assemble, compileTestJava
doLast {
javaexec {
main = "cucumber.api.cli.Main"
classpath = configurations.cucumberRuntime + sourceSets.main.output + sourceSets.test.output
args = ['--plugin', 'pretty', '--glue', 'gradle.cucumber', 'src/test/resources']
}
}
}
dependencies {
testCompile 'org.mockito:mockito-all:1.9.0'
testCompile 'info.cukes:cucumber-java:1.2.4'
testCompile 'info.cukes:cucumber-junit:1.2.4'
testCompile 'info.cukes:cucumber-spring:1.2.4'
testCompile 'junit:junit:4.11'
compile 'com.ctl.security.data:security-data-common:1.0.5-SNAPSHOT'
compile 'com.ctl.security.ips:IPS-client:1.0.24-SNAPSHOT'
compile 'org.springframework:spring-context:4.2.1.RELEASE'
compile 'org.springframework:spring-context-support:4.2.1.RELEASE'
compile 'org.springframework:spring-core:4.2.1.RELEASE'
compile 'org.springframework:spring-web:4.2.1.RELEASE'
compile 'org.springframework:spring-beans:4.2.1.RELEASE'
compile 'org.springframework:spring-test:4.2.1.RELEASE'
}