Mirror von
https://github.com/Moulberry/AxiomPaperPlugin.git
synchronisiert 2024-11-17 05:40:06 +01:00
fix task for running mojang mapped server
Dieser Commit ist enthalten in:
Ursprung
0dbf8c744f
Commit
e45c5c2be6
@ -15,8 +15,6 @@ repositories {
|
|||||||
mavenLocal() {
|
mavenLocal() {
|
||||||
content { includeGroup("io.papermc.paper") }
|
content { includeGroup("io.papermc.paper") }
|
||||||
}
|
}
|
||||||
mavenCentral()
|
|
||||||
maven("https://papermc.io/repo/repository/maven-public/")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@ -47,14 +45,14 @@ tasks {
|
|||||||
// Task to run obfuscated/production server and plugin
|
// Task to run obfuscated/production server and plugin
|
||||||
runServer {
|
runServer {
|
||||||
minecraftVersion("1.17.1")
|
minecraftVersion("1.17.1")
|
||||||
pluginJars.from(reobfJar.flatMap { it.outputJar })
|
pluginJars(reobfJar.flatMap { it.outputJar })
|
||||||
}
|
}
|
||||||
|
|
||||||
// Task to run mojang mapped/dev server and plugin
|
// Task to run mojang mapped/dev server and plugin
|
||||||
register<RunServerTask>("runMojangMappedServer") {
|
register<RunServerTask>("runMojangMappedServer") {
|
||||||
minecraftVersion("1.17.1")
|
minecraftVersion("1.17.1")
|
||||||
pluginJars.from(jar.flatMap { it.archiveFile })
|
pluginJars(jar.flatMap { it.archiveFile })
|
||||||
paperclip(layout.file(configurations.mojangMappedServer.map { it.singleFile }))
|
paperclip(paperweight.mojangMappedPaperServerJar)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren