I imported my project from sbt, and I checked `auto-import`. Now I added a `libraryDependency` to `build.sbt`, and I can see that IntelliJ is refreshing the project and resolving that particular dependency. But somehow it doesn't get added to the main module's dependencies.
For example, this shows the line hightlighted that I added:
So I should end up with `scalacolliderugens-spec` being added to the main project module, right? If afterwards I open the module settings, it is missing:
I only the see the old dependencies, where `scalacolliderugens-api` and `-core` are transitive dependencies from `scalacollider`, but the new dependency `scalacolliderugens-spec` is not there, and consequently it's missing on the classpath when running my project.
How would I work around this and make IntelliJ add that dependency? Do I have to remove the .idea files and re-import the project, or is there a faster trick?
__Edit__: The "insert image" function of the forum seems broken. I am attaching the images as files again.
Attachment(s):Screenshot from 2014-12-13 13:54:57.pngScreenshot from 2014-12-13 13:54:17.png