-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (34 loc) · 985 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
39
40
41
42
43
group = "de.hhn.it.devtools"
version = "1.0"
allprojects {
wrapper {
gradleVersion = "8.4"
}
apply plugin: "java"
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
// New gradle 8 specific configuration
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
}
dependencies {
// use slf versions with module-info information inside
implementation ("org.slf4j:slf4j-api:2.0.9") {
because "we need the SimpleLoggingFacade with module information"
}
implementation ("org.slf4j:slf4j-simple:2.0.9")
// use JUnit 5
testImplementation ("org.junit.jupiter:junit-jupiter-api:5.9.1")
testRuntimeOnly ("org.junit.jupiter:junit-jupiter-engine:5.9.1")
}
javadoc {
options.encoding = "UTF-8"
source = project(':apis').sourceSets.main.allJava
}
}