-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
29 lines (26 loc) · 900 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
buildscript {
dependencies {
classpath group: 'com.gfk.build.gradle.plugins.meta', name: 'gradle-meta-plugins', version: '3.1.0'
}
}
apply plugin: 'java'
group 'com.demo.docker'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.13.0'
testCompile group: 'org.testng', name: 'testng', version:'6.14.2'
}
test {
// Enable TestNG support (default is JUnit)
useTestNG()
{
//Set TestNG output dir
outputDirectory = file("$project.buildDir//testngOutput")
//Required to turn on TestNG reports
useDefaultListeners = true
}
// Name for the TestNG xml file to Run.
options.suites("testng.xml")
}