// Output ane executable jar to the output folder
String outputPath = project.path("$target$/../dist/" + JarWrapper.version);
paths(outputPath).delete();
String jar = outputPath + "/JarWrapper-"+JarWrapper.version+".jar";
Scar.jar(jar, paths(onejar), "com.robotality.jarwrapper.JarWrapper", new Paths());
paths(".", wrapperResources.toArray(new String[0])).copyTo(outputPath);
new File(outputPath + "/mac/jre").mkdir();
new File(outputPath + "/linux/jre/32").mkdirs();