-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (34 loc) · 1.04 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
plugins {
id 'java'
id "io.freefair.lombok" version "6.0.0-m2"
}
repositories {
mavenCentral()
}
def junitVersion = "5.8.2"
dependencies {
implementation 'org.projectlombok:lombok:1.18.22'
testImplementation(
'io.rest-assured:rest-assured:4.5.0',
'org.assertj:assertj-core:3.22.0',
'com.github.javafaker:javafaker:1.0.2',
'com.fasterxml.jackson.core:jackson-databind:2.13.1',
"org.junit.jupiter:junit-jupiter-api:$junitVersion")
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType(Test) {
systemProperties(System.getProperties())
useJUnitPlatform()
testLogging {
lifecycle {
// events "started", "failed"
events "started", "skipped", "failed", "standard_error", "standard_out"
exceptionFormat "short"
}
}
}