Fix another locked file, only a minor one this time
parent
8827983287
commit
a6507ef7a1
|
@ -62,7 +62,9 @@ public class MinecraftProvider extends DependencyProvider {
|
||||||
initFiles(project);
|
initFiles(project);
|
||||||
|
|
||||||
downloadMcJson();
|
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
|
// Add Loom as an annotation processor
|
||||||
addDependency(project.files(this.getClass().getProtectionDomain().getCodeSource().getLocation()), project, "compileOnly");
|
addDependency(project.files(this.getClass().getProtectionDomain().getCodeSource().getLocation()), project, "compileOnly");
|
||||||
|
|
Loading…
Reference in New Issue