mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 05:27:43 -05:00
Fix another locked file, only a minor one this time
This commit is contained in:
@@ -62,7 +62,9 @@ public class MinecraftProvider extends DependencyProvider {
|
||||
initFiles(project);
|
||||
|
||||
downloadMcJson();
|
||||
versionInfo = gson.fromJson(new FileReader(MINECRAFT_JSON), MinecraftVersionInfo.class);
|
||||
FileReader reader = new FileReader(MINECRAFT_JSON);
|
||||
versionInfo = gson.fromJson(reader, MinecraftVersionInfo.class);
|
||||
reader.close();
|
||||
|
||||
// Add Loom as an annotation processor
|
||||
addDependency(project.files(this.getClass().getProtectionDomain().getCodeSource().getLocation()), project, "compileOnly");
|
||||
|
||||
Reference in New Issue
Block a user