Fix VSCode resource configuration
This commit is contained in:
parent
66c043f171
commit
5280806f45
2 changed files with 3 additions and 3 deletions
|
@ -67,9 +67,9 @@ public class GenVSCodeProjectTask extends DefaultTask {
|
|||
JsonObject jsonObject = new JsonObject();
|
||||
JsonArray jsonArray = new JsonArray();
|
||||
jsonArray.add("src/main/java");
|
||||
jsonArray.add("src/main/resorces");
|
||||
jsonArray.add("src/main/resources");
|
||||
jsonArray.add("src/test/java");
|
||||
jsonArray.add("src/test/resorces");
|
||||
jsonArray.add("src/test/resources");
|
||||
jsonObject.add("sourcePath", jsonArray);
|
||||
JsonElement element = new JsonPrimitive(classPathFile.getName());
|
||||
jsonObject.add("classPathFile", element);
|
||||
|
|
|
@ -46,7 +46,7 @@ public class RunClientTask extends JavaExec {
|
|||
try {
|
||||
version = gson.fromJson(new FileReader(Constants.MINECRAFT_JSON.get(extension)), Version.class);
|
||||
} catch (FileNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
getLogger().error("Failed to retrieve version from minecraft json", e);
|
||||
}
|
||||
|
||||
List<String> libs = new ArrayList<>();
|
||||
|
|
Loading…
Reference in a new issue