-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
38 lines (33 loc) · 928 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'
id 'java-library'
id 'application'
}
application {
mainClass = 'com.colspan.Main'
}
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.9.2'
testImplementation 'org.assertj:assertj-core:3.24.2' // Assertion Mechanisms
}
test {
useJUnitPlatform()
jvmArgs "-XX:+PreserveFramePointer"
testLogging {
events "started", "passed", "skipped", "failed"
if (Boolean.getBoolean("test.verbose")) {
// events "passed", "skipped", "failed"
showException true
exceptionFormat "full"
showStandardStreams true
}
debug {
events "started", "passed", "skipped", "failed", "standard_out", "standard_error"
exceptionFormat "full"
}
}
}