-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
50 lines (41 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
import xyz.jpenilla.resourcefactory.bukkit.BukkitPluginYaml
plugins {
`java-library`
id("io.papermc.paperweight.userdev") version "1.7.1"
id("xyz.jpenilla.run-paper") version "2.2.4"
id("xyz.jpenilla.resource-factory-bukkit-convention") version "1.1.1"
id("io.freefair.lombok") version "8.6"
}
group = "net.slqmy"
version = "1.0"
description = "A Minecraft Java plugin that adds the Castle Siege minigame."
java {
toolchain.languageVersion = JavaLanguageVersion.of(21)
}
paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.MOJANG_PRODUCTION
dependencies {
implementation("org.projectlombok:lombok:1.18.30")
paperweight.paperDevBundle("1.20.6-R0.1-SNAPSHOT")
}
tasks {
compileJava {
options.release = 21
options.encoding = Charsets.UTF_8.name()
}
javadoc {
options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything
}
jar {
destinationDirectory.set(file("../../CastleSiegeTest/plugins"))
}
}
bukkitPluginYaml {
main = "net.slqmy.castle_siege_plugin.CastleSiegePlugin"
prefix = "Castle Siege"
load = BukkitPluginYaml.PluginLoadOrder.STARTUP
authors.addAll("rolyPolyVole", "Slqmy")
apiVersion = "1.20.5"
commands.register("start")
commands.register("end")
commands.register("debug")
}