JavaPluginConvention javaConvention = new JavaPluginConvention(project, customValues);
Convention convention = project.getConvention();
convention.getPlugins().put("java", javaConvention);
configureConfigurations(project);
configureUploadRules(project);
<BUG>project.createTask(INIT);
((ConventionTask) project.createTask(GUtil.map("type", Clean.class), CLEAN)).</BUG>
conventionMapping(GUtil.map(
"dir", new ConventionValue() {
public Object getValue(Convention convention, IConventionAware conventionAwareObject) {

JavaPluginConvention javaConvention = new JavaPluginConvention(project, customValues);
Convention convention = project.getConvention();
convention.getPlugins().put("java", javaConvention);
configureConfigurations(project);
configureUploadRules(project);
project.createTask(INIT).setDescription("The first task of the Java plugin tasks to be excuted. Does nothing if not customized.");
((ConventionTask) project.createTask(GUtil.map("type", Clean.class), CLEAN)).
conventionMapping(GUtil.map(
"dir", new ConventionValue() {
public Object getValue(Convention convention, IConventionAware conventionAwareObject) {
