Skip to content

Commit

Permalink
Fix getKnownIndyBsms storing a set in a list without sorting (#1225)
Browse files Browse the repository at this point in the history
* Cache source mappings (#1220) (#1221)

* Fix getKnownIndyBsms storing a set in a list

This caused remapJar to re-run unnecessarily

---------

Co-authored-by: modmuss <[email protected]>
  • Loading branch information
jpenilla and modmuss50 authored Nov 29, 2024
1 parent c4e2679 commit e5ad4e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static Provider<Options> createOptions(AbstractRemapJarTask remapJarTask)
options.getUselegacyMixinAP().set(legacyMixin);
options.getKotlinClasspathService().set(KotlinClasspathService.createOptions(project));
options.getClasspath().from(classpath);
options.getKnownIndyBsms().set(extension.getKnownIndyBsms());
options.getKnownIndyBsms().set(extension.getKnownIndyBsms().get().stream().sorted().toList());
options.getRemapperExtensions().set(extension.getRemapperExtensions());
});
}
Expand Down

0 comments on commit e5ad4e1

Please sign in to comment.