use of org.gradle.plugins.ide.idea.internal.IdeaScalaConfigurer in project gradle by gradle.
the class IdeaPlugin method configureForScalaPlugin.
private void configureForScalaPlugin() {
project.getPlugins().withType(ScalaBasePlugin.class, new Action<ScalaBasePlugin>() {
@Override
public void execute(ScalaBasePlugin scalaBasePlugin) {
ideaModuleDependsOnRoot();
}
});
project.getPlugins().withType(ScalaLanguagePlugin.class, new Action<ScalaLanguagePlugin>() {
@Override
public void execute(ScalaLanguagePlugin scalaLanguagePlugin) {
ideaModuleDependsOnRoot();
}
});
if (isRoot(project)) {
new IdeaScalaConfigurer(project).configure();
}
}
Aggregations