-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
53 lines (41 loc) · 1.07 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
plugins {
id 'com.diffplug.spotless' version '7.0.0.BETA4'
id("dev.jacomet.logging-capabilities") version "0.11.1"
}
repositories {
//mavenLocal()
mavenCentral()
}
subprojects { subproj ->
apply plugin: 'application'
apply plugin: 'com.diffplug.spotless'
repositories {
mavenLocal()
mavenCentral()
}
spotless {
java {
googleJavaFormat()
}
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
loggingCapabilities {
enforceLogback()
}
dependencies {
implementation "ch.qos.logback:logback-classic:1.5.15"
implementation 'net.logstash.logback:logstash-logback-encoder:8.0'
// Use JUnit Jupiter for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
testImplementation 'org.assertj:assertj-core:3.21.0'
testImplementation 'org.awaitility:awaitility:4.1.1'
}
tasks.named('test') {
// Use JUnit Platform for unit tests.
useJUnitPlatform()
}
}