-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (48 loc) · 1.16 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
plugins {
id 'java-library'
id 'io.qameta.allure' version '2.11.2'
id "io.freefair.lombok" version "6.0.0-m2"
}
repositories {
mavenCentral()
}
def restAssuredVersion = "5.3.1",
allureVersion = "2.21.0"
allure {
report {
version.set(allureVersion)
}
adapter {
aspectjWeaver.set(true)
frameworks {
junit5 {
adapterVersion.set(allureVersion)
}
}
}
}
repositories {
mavenCentral()
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
testImplementation(
'org.junit.jupiter:junit-jupiter:5.10.1',
"com.github.javafaker:javafaker:1.0.2",
"io.rest-assured:rest-assured:$restAssuredVersion",
"io.rest-assured:json-schema-validator:$restAssuredVersion",
"io.qameta.allure:allure-rest-assured:$allureVersion"
)
}
tasks.withType(Test) {
useJUnitPlatform()
systemProperties(System.getProperties())
testLogging {
lifecycle {
events "started", "skipped", "failed", "standard_error", "standard_out"
exceptionFormat "short"
}
}
}