-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
74 lines (65 loc) · 2.76 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
65
66
67
68
69
70
71
72
73
74
defaultTasks 'clean','test'
project.ext {
cucumberVersion = '7.21.0'
apacheCommonsExecVersion = '1.3'
apacheCommonsLangVersion = '3.9'
apacheCommonsTextVersion = '1.9'
apacheCommonsCodec = '1.10'
apacheCommonsIo = '2.6'
byteBuddyVersion = '1.10.5'
guavaVersion = '30.1-jre'
javaClientVersion = '9.4.0'
okhttpVersion= '3.12.13'
okioVersion = '1.14.0'
jsonVersion = '20200518'
slf4japiVersion = '1.7.7'
junitVersion = '4.13.1'
assertjcoreVersion = '3.8.0'
}
buildscript {
repositories {
mavenLocal()
}
}
apply plugin: 'java'
dependencies {
testImplementation 'io.cucumber:cucumber-java:' + cucumberVersion
testImplementation 'io.cucumber:cucumber-junit:' + cucumberVersion
testImplementation 'org.apache.commons:commons-exec:' + apacheCommonsExecVersion
testImplementation 'org.apache.commons:commons-lang3:' + apacheCommonsLangVersion
testImplementation 'io.cucumber:cucumber-core:' + cucumberVersion
testImplementation 'io.cucumber:cucumber-picocontainer:' + cucumberVersion
implementation 'net.bytebuddy:byte-buddy:' + byteBuddyVersion
implementation 'com.google.guava:guava:' + guavaVersion
implementation 'io.appium:java-client:' + javaClientVersion
implementation 'com.squareup.okhttp3:okhttp:' + okhttpVersion
implementation 'com.squareup.okio:okio:' + okioVersion
implementation 'org.json:json:' + jsonVersion
implementation 'org.apache.commons:commons-text:' + apacheCommonsTextVersion
implementation 'commons-codec:commons-codec:' + apacheCommonsCodec
implementation 'commons-io:commons-io:' + apacheCommonsIo
// Other dependencies
testImplementation "org.slf4j:slf4j-api:" + slf4japiVersion,
"junit:junit:" + junitVersion,
"org.assertj:assertj-core:" + assertjcoreVersion
}
repositories {
mavenCentral()
}
test {
testLogging.showStandardStreams = true
systemProperty "cucumber.filter.tags", System.getProperty("cucumber.filter.tags")
systemProperty "appium", System.getProperty("appium")
systemProperty "device", System.getProperty("device")
systemProperty "server", System.getProperty("server")
systemProperty "host", System.getProperty("host")
systemProperty "udid", System.getProperty("udid")
//For login tests, out of regular scope
systemProperty "login_serverURL", System.getenv("serverBasicTest")
systemProperty "login_oauth2URL", System.getenv("serverOAuth2Test")
systemProperty "login_oidcURL", System.getenv("serverOIDCTest")
systemProperty "login_LDAPURL", System.getenv("serverLDAPTest")
systemProperty "login_red301URL", System.getenv("server301Test")
systemProperty "login_red302URL", System.getenv("server302Test")
}
gradle.startParameter.continueOnFailure = true