-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (42 loc) · 1.53 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
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:$shadowVersion"
classpath "gradle.plugin.com.energizedwork.webdriver-binaries:webdriver-binaries-gradle-plugin:$webdriverBinariesVersion"
}
}
apply plugin: 'groovy'
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: 'application'
apply plugin:"com.energizedwork.webdriver-binaries"
mainClassName = "com.greachconf.Main"
repositories {
jcenter()
}
webdriverBinaries {
chromedriver '2.35'
geckodriver '0.19.1'
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.21'
compile "org.gebish:geb-core:$gebVersion"
runtime "org.seleniumhq.selenium:selenium-chrome-driver:$seleniumVersion"
compile "org.seleniumhq.selenium:selenium-remote-driver:$seleniumVersion"
compile "org.seleniumhq.selenium:selenium-api:$seleniumVersion"
compile "org.seleniumhq.selenium:selenium-support:$seleniumVersion"
compile 'org.spockframework:spock-core:1.0-groovy-2.4'
compile 'com.googlecode.plist:dd-plist:1.16'
}
runShadow {
systemProperty "geb.env", System.getProperty('geb.env')
systemProperty "geb.build.reportsDir", reporting.file("geb/integrationTest")
systemProperty "webdriver.chrome.driver", System.getProperty('webdriver.chrome.driver')
}
tasks.withType(Test) {
systemProperty "geb.env", System.getProperty('geb.env')
systemProperty "geb.build.reportsDir", reporting.file("geb/integrationTest")
}