compile.setConfiguration(project.getConfigurations().get(COMPILE));
compile.conventionMapping(DefaultConventionsToPropertiesMapping.COMPILE);
addDependsOnProjectDependencies(compile, COMPILE);
}
});
<BUG>project.createTask(GUtil.map("type", Compile.class), COMPILE);
}</BUG>
private void configureResources(Project project) {
project.addTaskLifecycleListener(Resources.class, new TaskLifecycleListener<Resources>() {
public void taskAdded(Resources resources) {

compile.setConfiguration(project.getConfigurations().get(COMPILE));
compile.conventionMapping(DefaultConventionsToPropertiesMapping.COMPILE);
addDependsOnProjectDependencies(compile, COMPILE);
}
});
project.createTask(GUtil.map("type", Compile.class), COMPILE).setDescription("Compiles the Java source code.");
}
private void configureResources(Project project) {
project.addTaskLifecycleListener(Resources.class, new TaskLifecycleListener<Resources>() {
public void taskAdded(Resources resources) {
