forked from cijaaimee/Slime-World-Manager
-
Notifications
You must be signed in to change notification settings - Fork 71
/
build.gradle.kts
54 lines (44 loc) · 1.34 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
47
48
49
50
51
52
53
54
plugins {
`java-library`
id("org.kordamp.gradle.profiles") version "0.47.0"
}
buildscript {
repositories {
maven("https://plugins.gradle.org/m2/")
mavenCentral()
}
dependencies {
classpath("io.freefair.gradle:lombok-plugin:6.3.0")
}
}
allprojects {
group = "com.grinderwolf"
version = "2.10.0-SNAPSHOT"
apply(plugin = "java")
apply(plugin = "io.freefair.lombok")
apply(plugin = "org.kordamp.gradle.profiles")
repositories {
mavenLocal()
mavenCentral()
maven("https://repo.papermc.io/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(17)
}
tasks.withType<Javadoc> {
options.encoding = Charsets.UTF_8.name()
(options as StandardJavadocDocletOptions).tags("apiNote:a:API Note:", "implSec:a:Implementation Requirements:", "implNote:a:Implementation Note:")
}
tasks.withType<ProcessResources> {
filteringCharset = Charsets.UTF_8.name()
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
}