-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
55 lines (48 loc) · 1.82 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
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
group = 'com.academy.fintech'
version = '1.0-SNAPSHOT'
subprojects {
apply plugin: 'java'
group = rootProject.group
version = rootProject.version
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
dependencies {
// You can add common dependencies here...
implementation libs.spring.web
implementation libs.postgresql.driver
implementation libs.liquibase
implementation libs.spring.data
implementation libs.lombok
annotationProcessor libs.lombok
}
repositories {
mavenCentral()
}
test {
jvmArgs([
'--enable-preview',
'--add-opens', 'jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED',
'--add-opens', 'jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED',
'--add-opens', 'jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED',
'--add-opens', 'jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED',
'--add-opens', 'jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED',
'--add-opens', 'jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED',
'--add-opens', 'jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED',
'--add-opens', 'jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED',
'--add-opens', 'jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED'
])
useJUnitPlatform()
systemProperty "junit.jupiter.extensions.autodetection.enabled", "true"
testLogging {
showStandardStreams = true
exceptionFormat TestExceptionFormat.FULL
showExceptions true
showCauses true
showStackTraces true
}
}
}