<BUG>Configuration groovyConfiguration = project.getConfigurations().add(GROOVY).setVisible(false).setTransitive(false);configureCompile(project);</BUG><CONTEXT>static final String GROOVY = "groovy";public void apply(Project project, PluginRegistry pluginRegistry, Map<String, ?> customValues) {JavaPlugin javaPlugin = pluginRegistry.apply(JavaPlugin.class, project, customValues);GroovyPluginConvention groovyPluginConvention = new GroovyPluginConvention(project, customValues);project.getConvention().getPlugins().put("groovy", groovyPluginConvention);<extra_id_0>configureTestCompile(javaPlugin, project);configureJavadoc(project);</CONTEXT>
Configuration groovyConfiguration = project.getConfigurations().add(GROOVY).setVisible(false).setTransitive(false).setDescription("The groovy libraries to be used for this Groovy project.");configureCompile(project);