-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
73 lines (53 loc) · 1.59 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
buildscript {
repositories {
mavenCentral()
}
}
apply plugin: 'maven'
apply plugin: 'idea'
group = 'jumio.oss'
version = '1.0-SNAPSHOT'
ext.gebVersion = '2.0'
ext.seleniumVersion = '3.13.0'
ext.spockVersion = '1.0-groovy-2.3'
ext.groovyVersion = '2.3.11'
ext.appiumClientVersion = '5.0.4'
ext.iosClientVersion = '0.6+'
allprojects {
apply plugin: 'idea'
repositories {
mavenLocal()
mavenCentral()
}
}
subprojects {
apply plugin: 'groovy'
dependencies {
compile("io.appium:java-client:$appiumClientVersion")
compile "org.uiautomation:ios-client:$iosClientVersion"
compile "org.json:json:20171018"
compile "org.codehaus.groovy:groovy-all:$groovyVersion"
compile "org.slf4j:slf4j-api:1.7.6"
compile 'ch.qos.logback:logback-classic:1.1.2'
compile "org.seleniumhq.selenium:selenium-java:$seleniumVersion"
compile group: 'junit', name: 'junit', version: '4.11'
compile("org.gebish:geb-spock:$gebVersion") {
exclude module: "groovy"
exclude module: "groovy-all"
}
compile("org.spockframework:spock-core:$spockVersion") {
exclude module: "junit"
exclude module: "groovy"
exclude module: "groovy-all"
}
testCompile group: 'junit', name: 'junit', version: '4.11'
}
}
task checkenv {
doLast {
if (System.properties.'os.name'.toLowerCase().startsWith("mac")) {
println "MAC ... "
println "check appium installation: " + 'appium -v'.execute().text
}
}
}