-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
38 lines (32 loc) · 880 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
plugins {
id 'java-library'
}
repositories {
mavenCentral()
}
def restAssured = "4.4.0",
junitVersion = "5.8.2",
slf4jVersion = "1.7.32"
dependencies {
testImplementation(
"io.rest-assured:rest-assured:$restAssured",
"org.assertj:assertj-core:3.22.0",
"org.junit.jupiter:junit-jupiter-api:$junitVersion")
testRuntimeOnly(
"org.slf4j:slf4j-simple:$slf4jVersion",
"org.junit.jupiter:junit-jupiter-engine:$junitVersion")
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Test) {
systemProperties(System.getProperties())
useJUnitPlatform()
testLogging {
lifecycle {
// events "started", "failed"
events "started", "skipped", "failed", "standard_error", "standard_out"
exceptionFormat "short"
}
}
}