Reputation: 2371
I have a multiple module projects in scala. Module A, B, C. B --dependsOn--> A and C --dependsOn--> A too. The module A && C is compiled by scala 2.11 while module B has to be compiled by scala 2.10 since there is a dependency library only with scala 2.10. How to use sbt to specify module B dependsOn module A?
Upvotes: 2
Views: 614
Reputation: 170839
It won't work. Period. Either switch A and C to compile with Scala 2.10 as well, or if the source of 2.10-only library is available, update it to 2.11.
Upvotes: 1