3
0
Mirror von https://github.com/Moulberry/AxiomPaperPlugin.git synchronisiert 2024-11-17 05:40:06 +01:00

add task to run mojang mapped server

Dieser Commit ist enthalten in:
Jason Penilla 2021-07-08 05:55:47 -07:00
Ursprung 388857f4c1
Commit 6a46a437e6
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 0E75A301420E48F8

Datei anzeigen

@ -1,4 +1,5 @@
import net.minecrell.pluginyml.bukkit.BukkitPluginDescription.PluginLoadOrder import net.minecrell.pluginyml.bukkit.BukkitPluginDescription.PluginLoadOrder
import xyz.jpenilla.runpaper.task.RunServerTask
plugins { plugins {
`java-library` `java-library`
@ -36,6 +37,11 @@ tasks {
minecraftVersion("1.17.1") minecraftVersion("1.17.1")
pluginJars.from(reobfJar.flatMap { it.outputJar }) pluginJars.from(reobfJar.flatMap { it.outputJar })
} }
register<RunServerTask>("runMojangMappedServer") {
minecraftVersion("1.17.1")
pluginJars.from(jar.flatMap { it.archiveFile })
paperclip(layout.file(configurations.mojangMappedServer.map { it.singleFile }))
}
} }
bukkit { bukkit {