mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-03 05:57:42 -05:00
Add log message to MCP listLibraries step
Closes #94. Hopefully people won't be as confused about why it takes so long now.
This commit is contained in:
@@ -171,6 +171,7 @@ public interface StepLogic {
|
||||
final class ListLibraries implements StepLogic {
|
||||
@Override
|
||||
public void execute(ExecutionContext context) throws IOException {
|
||||
context.logger().lifecycle(":downloading minecraft libraries, this may take a while...");
|
||||
try (PrintWriter writer = new PrintWriter(Files.newBufferedWriter(context.setOutput("libraries.txt")))) {
|
||||
for (File lib : context.getMinecraftLibraries()) {
|
||||
writer.println("-e=" + lib.getAbsolutePath());
|
||||
|
||||
Reference in New Issue
Block a user