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

fix task for running mojang mapped server

Dieser Commit ist enthalten in:
Jason Penilla 2021-07-10 16:09:39 -07:00
Ursprung 0dbf8c744f
Commit e45c5c2be6
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 0E75A301420E48F8

Datei anzeigen

@ -15,8 +15,6 @@ repositories {
mavenLocal() {
content { includeGroup("io.papermc.paper") }
}
mavenCentral()
maven("https://papermc.io/repo/repository/maven-public/")
}
dependencies {
@ -47,14 +45,14 @@ tasks {
// Task to run obfuscated/production server and plugin
runServer {
minecraftVersion("1.17.1")
pluginJars.from(reobfJar.flatMap { it.outputJar })
pluginJars(reobfJar.flatMap { it.outputJar })
}
// Task to run mojang mapped/dev server and plugin
register<RunServerTask>("runMojangMappedServer") {
minecraftVersion("1.17.1")
pluginJars.from(jar.flatMap { it.archiveFile })
paperclip(layout.file(configurations.mojangMappedServer.map { it.singleFile }))
pluginJars(jar.flatMap { it.archiveFile })
paperclip(paperweight.mojangMappedPaperServerJar)
}
}