forked from karatelabs/karate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (33 loc) · 825 Bytes
/
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
plugins {
id 'java'
}
ext {
karateVersion = '0.9.5'
}
dependencies {
testCompile "com.intuit.karate:karate-junit5:${karateVersion}"
testCompile "com.intuit.karate:karate-apache:${karateVersion}"
testCompile "net.masterthought:cucumber-reporting:3.8.0"
}
sourceSets {
test {
resources {
srcDir file('src/test/java')
exclude '**/*.java'
}
}
}
test {
useJUnitPlatform()
systemProperty "karate.options", System.properties.getProperty("karate.options")
systemProperty "karate.env", System.properties.getProperty("karate.env")
outputs.upToDateWhen { false }
}
repositories {
mavenCentral()
// mavenLocal()
}
task karateDebug(type: JavaExec) {
classpath = sourceSets.test.runtimeClasspath
main = 'com.intuit.karate.cli.Main'
}