import com.esotericsoftware.wildcard.Paths;
import com.robotality.jarwrapper.JarWrapper;
public class JarWrapperBuild {
public static void main(String[] args) throws IOException{
Project project = Build.project(".");
project.set("resources", null);
project.set("target", "./target");
project.set("main", "com.robotality.jarwrapper.JarWrapper");
//project.set("classpath", "/libs|scar-1.09.jar|jsonbeans-0.5.jar");
build(project);
oneJAR(project);
String onejar = project.path("$target$/onejar");
// 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());