How to create inter project dependency for SBT Scala projects

Hello,

I have 4 different SBT scala projects that have dependency between them. Currently I have open each one of them in a separate IntelliJ and when I change something in one project I have to publish its artifacts locally and then refresh the other projects to see the new changes.

Is there any easy way to have them all together in the same IntelliJ with dependencies directly coming from the modules and not from built artifacts.   

 

Thanks

1 comment
Comment actions Permalink

If the projects are tightly coupled it's often a good idea to set up a multi-project build in sbt: http://www.scala-sbt.org/1.x/docs/Multi-Project.html

This can then be easily imported into IntelliJ

0

Please sign in to leave a comment.