@Override public void apply(final Project project) { project.getPluginManager().withPlugin("idea", new Action<AppliedPlugin>() { @Override public void execute(AppliedPlugin appliedPlugin) { project.getPluginManager().apply(PlayIdeaPlugin.class); } }); // TODO: Configure 'eclipse' projects too }
AppliedPlugin asAppliedPlugin() { return new DefaultAppliedPlugin(id); }