forked from Paul19988/Advanced-Slime-World-Manager
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
46 lines (38 loc) · 1.01 KB
/
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
38
39
40
41
42
43
44
45
46
plugins {
`java-library`
}
buildscript {
repositories {
maven("https://plugins.gradle.org/m2/")
}
dependencies {
classpath("io.freefair.gradle:lombok-plugin:6.3.0")
}
}
allprojects {
apply(plugin = "java")
apply(plugin = "io.freefair.lombok")
repositories {
mavenLocal()
mavenCentral()
maven("https://papermc.io/repo/repository/maven-public/")
maven("https://repo.codemc.io/repository/nms/")
maven("https://repo.rapture.pw/repository/maven-releases/")
maven("https://repo.glaremasters.me/repository/concuncan/")
}
tasks.withType<JavaCompile> {
options.encoding = Charsets.UTF_8.name()
options.release.set(16)
}
tasks.withType<Javadoc> {
options.encoding = Charsets.UTF_8.name()
}
tasks.withType<ProcessResources> {
filteringCharset = Charsets.UTF_8.name()
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(16))
}
}
}