jar.conventionMapping(WrapUtil.<String, ConventionValue>toMap("resourceCollections",
new ConventionValue() {
public Object getValue(Convention convention, IConventionAware conventionAwareObject) {
return WrapUtil.toList(new FileSet(javaConvention.getClassesDir()));
}
<BUG>}));
project.getConfigurations().get(Dependency.MASTER_CONFIGURATION).addArtifact(new ArchivePublishArtifact(jar));</BUG>
}
private void configureDists(Project project, JavaPluginConvention javaPluginConvention) {
Bundle distsBundle = (Bundle) project.createTask(GUtil.map("type", Bundle.class, "dependsOn", LIBS), DISTS);

jar.conventionMapping(WrapUtil.<String, ConventionValue>toMap("resourceCollections",
new ConventionValue() {
public Object getValue(Convention convention, IConventionAware conventionAwareObject) {
return WrapUtil.toList(new FileSet(javaConvention.getClassesDir()));
}
}));
jar.setDescription("Generates a jar archive with all the compiled classes.");
project.getConfigurations().get(Dependency.MASTER_CONFIGURATION).addArtifact(new ArchivePublishArtifact(jar));
}
private void configureDists(Project project, JavaPluginConvention javaPluginConvention) {
Bundle distsBundle = (Bundle) project.createTask(GUtil.map("type", Bundle.class, "dependsOn", LIBS), DISTS);
