Skip to content

Commit

Permalink
Add back module path to prod server ignoreList
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Nov 18, 2024
1 parent 6e2334f commit c64aac5
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,12 @@ public void apply(Project project) {
task.getMinecraftVersion().set(minecraftVersion);
task.getNeoForgeVersion().set(neoForgeVersion);
task.getRawNeoFormVersion().set(rawNeoFormVersion);
task.getIgnoreList().set(List.of());
// In theory, new BootstrapLauncher shouldn't need the module path in the ignore list anymore.
// However, in server installs libraries are passed as relative paths here.
// Module path detection doesn't currently work with relative paths (BootstrapLauncher #20).
task.getIgnoreList().set(configurations.modulePath.getIncoming().getArtifacts().getResolvedArtifacts().map(results -> {
return results.stream().map(r -> r.getFile().getName()).toList();
}));
task.getRawServerJar().set(createCleanArtifacts.flatMap(CreateCleanArtifacts::getRawServerJar));
});
}
Expand Down

0 comments on commit c64aac5

Please sign in to comment.