From 16030c824f53487fe5497b1a73d091c91d91abc2 Mon Sep 17 00:00:00 2001 From: Kyle Wood Date: Sat, 26 Jun 2021 22:26:17 -0500 Subject: [PATCH] Update task dependency for includeMappings so the new task isn't skipped The new task fixJarForReobf was added after shadowJar, but since reobfJar's input is changed in this patch, that new task needs to be referenced instead of shadowJar. --- .../Deobfuscate-stacktraces-in-log-messages-crash-report.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/server/Deobfuscate-stacktraces-in-log-messages-crash-report.patch b/patches/server/Deobfuscate-stacktraces-in-log-messages-crash-report.patch index ef99f5420..1b94f6734 100644 --- a/patches/server/Deobfuscate-stacktraces-in-log-messages-crash-report.patch +++ b/patches/server/Deobfuscate-stacktraces-in-log-messages-crash-report.patch @@ -79,7 +79,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 +} + +val includeMappings = tasks.register("includeMappings") { -+ inputJar.set(tasks.shadowJar.flatMap { it.archiveFile }) ++ inputJar.set(tasks.fixJarForReobf.flatMap { it.outputJar }) + mappings.set(tasks.reobfJar.flatMap { it.mappingsFile }) +} +