-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
50 lines (42 loc) · 1.73 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
group 'learnAutomation'
version '1.0-SNAPSHOT'
apply plugin: 'java'
sourceCompatibility = 1.5
// Cf. Maven properties
ext.junitVersion = '4.11'
ext.seleniumVersion = '3.8.1'
// Cf. Maven <dependencies>
dependencies {
compile group: 'junit', name: 'junit', version: junitVersion
compile group: 'org.seleniumhq.selenium', name: 'selenium-firefox-driver', version: seleniumVersion
compile group: 'org.seleniumhq.selenium', name: 'selenium-chrome-driver', version: seleniumVersion
compile group: 'org.seleniumhq.selenium', name: 'selenium-api', version: seleniumVersion
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: seleniumVersion
// https://mvnrepository.com/artifact/org.testng/testng
testCompile group: 'org.testng', name: 'testng', version: '6.9.10'
//https://mvnrepository.com/artifact/com.aventstack/extentreports
compile group: 'com.aventstack', name: 'extentreports', version: '3.0.3'
//https://mvnrepository.com/artifact/org.projectlombok/lombok
compile group: 'org.projectlombok', name: 'lombok', version: '0.11.0'
// https://mvnrepository.com/artifact/commons-io/commons-io
compile group: 'commons-io', name: 'commons-io', version: '2.4'
// https://mvnrepository.com/artifact/log4j/log4j
compile group: 'log4j', name: 'log4j', version: '1.2.16'
}
test {
useTestNG() {
// runlist to executed. path is relative to current folder
suites 'src/test/java/testng.xml'
}
test {
useTestNG() {
// runlist to executed. path is relative to current folder
suites 'src/test/java/testng.xml'
}
}
// Resolve Maven dependencies as Maven does
repositories {
mavenCentral()
mavenLocal()
}
}