forked from zachbr/Debuggery
-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle.kts
37 lines (33 loc) · 933 Bytes
/
build.gradle.kts
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
plugins {
base
`java-library`
id("io.github.goooler.shadow") version "8.1.7" apply false
}
allprojects {
apply(plugin = "java")
group = "io.papermc.debuggery"
version = "1.5.2-SNAPSHOT"
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()
}
}
dependencies {
compileOnly("org.jetbrains:annotations:24.0.1")
testImplementation("org.jetbrains:annotations:24.0.1")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.2")
}
}