-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
63 lines (53 loc) · 1.87 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
52
53
54
55
56
57
58
59
60
61
62
63
plugins {
id 'java'
}
group 'tron.stest'
version '1.0'
apply plugin:'java'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'commons-collections', name: 'commons-collections', version: '3.2'
testCompile group: 'org.testng', name: 'testng', version: '6.14.3'
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.6.0'
compile group: 'org.seleniumhq.selenium', name: 'selenium-server', version: '3.6.0'
compile group: 'org.seleniumhq.selenium', name: 'selenium-chrome-driver', version: '2.23.0'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'org.slf4j', name: 'jcl-over-slf4j', version: '1.7.25'
compile group: 'com.alibaba', name: 'fastjson', version: '1.2.44'
compile group: 'com.typesafe', name: 'config', version: '1.3.2'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'org.slf4j', name: 'jcl-over-slf4j', version: '1.7.25'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'org.projectlombok', name: 'lombok', version: '1.18.2'
}
repositories {
mavenLocal()
mavenCentral()
maven { url 'http://repo.spring.io/plugins-release' }
// maven { url 'https://maven.aliyun.com/nexus/content/repositories/central/' }
maven { url 'https://jitpack.io' }
}
test {
useTestNG()
systemProperties 'property': 'value'
}
task tronscan(type: Test) {
useTestNG {
suites(file('src/test/resources/testng.xml'))
parallel 'tests'
threadCount 4
}
testLogging {
exceptionFormat = 'full'
showStackTraces = "true"
}
}