Reputation: 203
We have a Gradle multi-project which we successfully import into Intellij using the in-built import-functionality.
In total, we have about ~150 subprojects with one or more modules, with both Scala and Java-code. For Intellij to work properly with Scala, each module with Scala code needs to have a configured Scala SDK.
Is there any way to configure Intellij to use a Scala SDK on the root project, ALL modules in a project, or similar?
Best Regards, /d
Upvotes: 12
Views: 13936
Reputation: 576
You may do it in Project Structure
dialog. Find scala-sdk in Libraries
or Global Libraries
tab and select Add to modules
in the context menu:
Upvotes: 21