-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
43 lines (34 loc) · 903 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
38
39
40
41
42
43
plugins {
java
id("io.papermc.paperweight.userdev") version "1.7.2"
id("xyz.jpenilla.run-paper") version "2.2.4"
}
repositories {
mavenLocal()
maven {
url = uri("https://papermc.io/repo/repository/maven-public/")
}
}
dependencies {
paperweight.paperDevBundle("1.21.1-R0.1-SNAPSHOT")
}
paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.MOJANG_PRODUCTION
group = "dev.warriorrr"
version = "1.0.2"
java.sourceCompatibility = JavaVersion.VERSION_21
tasks {
runServer {
minecraftVersion("1.21.1")
}
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(21)
}
javadoc {
options.encoding = Charsets.UTF_8.name()
}
processResources {
filteringCharset = Charsets.UTF_8.name()
expand("version" to project.version)
}
}