-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathbuild.gradle
40 lines (33 loc) · 830 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
40
apply plugin: 'java'
version = '0.7.0'
group = 'com.xing.qa'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
configurations {
provided
compile.extendsFrom provided
}
dependencies {
provided 'org.seleniumhq.selenium:selenium-server:3.11.0'
compile 'org.json:json:20080701'
testCompile 'org.testng:testng:6.8.8'
}
jar {
dependsOn configurations.runtime
from {
(configurations.runtime - configurations.provided).collect {
it.isDirectory() ? it : zipTree(it)
}
} {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.6'
distributionUrl = "http://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip";
}