-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
73 lines (60 loc) · 1.92 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription
import net.minecrell.pluginyml.paper.PaperPluginDescription
plugins {
id("java")
id("net.minecrell.plugin-yml.paper") version "0.6.0"
id("io.github.goooler.shadow") version "8.1.8"
id("xyz.jpenilla.run-paper") version "2.3.1"
}
group = "de.theshadowsdust"
version = "1.2.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven("https://repo.opencollab.dev/main/")
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT")
compileOnly("org.geysermc.geyser:api:2.4.0-SNAPSHOT")
implementation("cloud.commandframework", "cloud-paper", "1.8.4")
implementation("cloud.commandframework", "cloud-annotations", "1.8.4")
implementation("cloud.commandframework", "cloud-minecraft-extras", "1.8.4")
implementation("org.apache.commons:commons-lang3:3.17.0")
implementation("me.lucko:commodore:2.2") {
isTransitive = false
}
}
tasks {
compileJava {
options.release.set(21)
options.encoding = "UTF-8"
}
runServer {
minecraftVersion("1.20.6")
}
shadowJar {
archiveFileName.set("${rootProject.name}.${archiveExtension.getOrElse("jar")}")
}
}
paper {
name = rootProject.name
author = "theShadowsDust"
main = "de.theshadowsdust.ultimatespawn.UltimateSpawnPlugin"
hasOpenClassloader = false
generateLibrariesJson = false
foliaSupported = false
apiVersion = "1.20"
load = BukkitPluginDescription.PluginLoadOrder.POSTWORLD
bootstrapDependencies {
register("Geyser-Spigot") {
required = false
load = PaperPluginDescription.RelativeLoadOrder.AFTER
}
}
serverDependencies {
register("Geyser-Spigot") {
required = false
}
}
}