Idea plugin not generating project files with scala facet in multi-module build

( #1

I’m trying to switch to using intellij for a multi-module scala project. When I run gradle cleanIdea idea I’m not getting any scala facets added to the generated *.iml files. I’m also not getting a *.ipr file generated at all.

It works for a single-module project. Are multi-module scala intellij projects not supported yet?

(Peter Niederwieser) #2

Multi-module scala intellij projects are supported, and work just for me. If no ipr is generated, something very fundamental is going wrong. Can you double-check that you are applying the ‘idea’ plugin to all projects, including the root project?

( #3

Hi Peter, That was the problem. I wasn’t applying the plugin to the root project.

Many thanks, Kevin