Fix split decompilation task names for Arch decompilers

This commit is contained in:
Juuz
2022-01-20 00:09:14 +02:00
parent db6baa837c
commit a94cafb56c

View File

@@ -109,7 +109,7 @@ public final class SplitDecompileConfiguration extends DecompileConfiguration<Ma
});
extension.getArchGameDecompilers().configureEach(decompiler -> {
String taskName = "genSourcesWith" + decompiler.name();
String taskName = "gen%sSourcesWith%s".formatted(name, decompiler.name());
// Decompiler will be passed to the constructor of ArchitecturyGenerateSourcesTask
project.getTasks().register(taskName, ArchitecturyGenerateSourcesTask.class, decompiler).configure(task -> {