version.add("libraries", libraries);
JarEntry entry = new JarEntry("version.json");
entry.setTime(System.currentTimeMillis());
jar.putNextEntry(entry);
PrintStream out = new PrintStream(jar);
PrettyPrinter pp = new PrettyPrinter(" ", out);
version.prettyPrint(pp);
out.flush();
jar.closeEntry();
File latest = new File("latest.json");
out = new PrintStream(new FileOutputStream(latest));
version.prettyPrint(new PrettyPrinter(" ", out));
out.close();
}