-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.gradle
40 lines (33 loc) · 997 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
plugins {
id 'java'
}
group 'io.automationhacks'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
tasks.withType(Test) {
systemProperties = [
tag : System.getProperty('tag', 'NONE'),
target: System.getProperty('target', 'NONE')
]
systemProperties System.getProperties()
}
compileTestJava {
options.encoding = "UTF-8"
}
task runTests(type: Test) {
useTestNG {
useDefaultListeners = false
testLogging.showStandardStreams = true
includeGroups System.getProperty('tag', 'NONE')
outputDirectory = file("$buildDir/" + System.getProperty('tag', 'NONE'))
}
}
dependencies {
implementation 'io.appium:java-client:7.5.1'
implementation 'org.seleniumhq.selenium:selenium-server:3.141.59'
implementation 'org.seleniumhq.selenium:selenium-java:3.141.59'
implementation 'com.fasterxml:jackson-xml-databind:0.6.2'
testImplementation group: 'org.testng', name: 'testng', version: '7.1.0'
}