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() {
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren