-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
39 lines (33 loc) · 817 Bytes
/
build.gradle.kts
File metadata and controls
39 lines (33 loc) · 817 Bytes
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
version = "1.2"
plugins {
`java-library`
id("io.papermc.paperweight.userdev") version "2.0.0-beta.8"
id("xyz.jpenilla.run-paper") version "2.3.1" // Adds runServer and runMojangMappedServer tasks for testing
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
repositories {
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
paperweight.paperDevBundle("1.21.4-R0.1-SNAPSHOT")
}
tasks {
assemble {
dependsOn("reobfJar")
}
compileJava {
options.encoding = "UTF-8"
options.release.set(21)
}
javadoc {
options.encoding = "UTF-8"
}
processResources {
filteringCharset = "UTF-8"
filesMatching("plugin.yml") {
expand("version" to project.version)
}
}
}