binariesDir = new File(buildDir, "jars");
classesDir = new File(buildDir, "classes");
}
public void execute(JarBinarySpec jarBinarySpec) {
JarBinarySpecInternal jarBinarySpecInternal = (JarBinarySpecInternal) jarBinarySpec;
File outputDir = new File(classesDir, jarBinarySpecInternal.getName());
jarBinarySpec.setClassesDir(outputDir);
jarBinarySpec.setResourcesDir(outputDir);
jarBinarySpec.setJarFile(new File(binariesDir, String.format("%s/%s.jar", jarBinarySpecInternal.getName(), jarBinarySpecInternal.getBaseName())));
}