forked from zachbr/Debuggery
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
41 lines (36 loc) · 1 KB
/
build.gradle.kts
File metadata and controls
41 lines (36 loc) · 1 KB
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
plugins {
base
`java-library`
id("com.gradleup.shadow") apply false
}
allprojects {
apply(plugin = "java")
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
}
subprojects {
tasks {
withType<JavaCompile> {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
}
withType<Javadoc> {
options.encoding = Charsets.UTF_8.name()
}
processResources {
filteringCharset = Charsets.UTF_8.name()
}
test {
useJUnitPlatform()
}
}
dependencies {
compileOnly("org.jetbrains:annotations:24.0.1")
testImplementation("org.jetbrains:annotations:24.0.1")
testImplementation(platform("org.junit:junit-bom:6.0.2"))
testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
}