Setup Spigot dependencies before remapping (#1)

This commit is contained in:
MiniDigger 2020-07-05 02:12:33 +02:00
parent 4d12aa9fc3
commit 20d3976520

View file

@ -289,6 +289,7 @@ class Paperweight : Plugin<Project> {
}
val remapSpigotSources: TaskProvider<RemapSources> = project.tasks.register<RemapSources>("remapSpigotSources") {
dependsOn(setupSpigotDependencies)
spigotServerDir.set(patchSpigotServer.flatMap { it.outputDir })
spigotApiDir.set(patchSpigotApi.flatMap { it.outputDir })
spigotToSrg.set(generateSpigotSrgs.flatMap { it.spigotToSrg })