public void taskAdded(Javadoc javadoc) {
javadoc.conventionMapping(DefaultConventionsToPropertiesMapping.JAVADOC);
javadoc.setConfiguration(project.getConfigurations().get(COMPILE));
}
});
<BUG>project.createTask(GUtil.map("type", Javadoc.class), JAVADOC);
}</BUG>
private void configureEclipse(Project project) {
<BUG>Task eclipse = project.createTask(ECLIPSE).dependsOn(
configureEclipseProject(project),</BUG>
configureEclipseClasspath(project)

public void taskAdded(Javadoc javadoc) {
javadoc.conventionMapping(DefaultConventionsToPropertiesMapping.JAVADOC);
javadoc.setConfiguration(project.getConfigurations().get(COMPILE));
}
});
project.createTask(GUtil.map("type", Javadoc.class), JAVADOC).setDescription("Generates the javadoc for the source code.");
}
private void configureEclipse(Project project) {
project.createTask(ECLIPSE).dependsOn(
configureEclipseProject(project),
