-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
44 lines (33 loc) · 1.13 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
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
testImplementation 'io.rest-assured:rest-assured:5.3.2'
testImplementation 'io.rest-assured:json-path:5.3.2'
// https://mvnrepository.com/artifact/org.testng/testng
testImplementation 'org.testng:testng:7.8.0'
// https://mvnrepository.com/artifact/com.thedeanda/lorem
testImplementation 'com.thedeanda:lorem:2.1'
// https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple
testImplementation 'com.googlecode.json-simple:json-simple:1.1.1'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.15.1'
testImplementation group: 'com.aventstack', name: 'extentreports', version: '5.0.9'
}
test {
useTestNG()
}
test {
useTestNG() {
if (project.hasProperty('testng.suites')) {
project.property('testng.suites').toString().split(',').each { suite ->
suites 'src/test/resources/' + suite + '-suite.xml'
}
}
}
}