Working on some scala software in IDEA IntelliJ. (It also features Android if it is essential). Suppose I have two projects:
P1, written in scala, uses sbt as the build
install
it into your local maven
repository build.sbt
add an Library Depdendency to P2/Java, e.g. libraryDependencies += "xyz" % "xyz" % "xyz"
. Now all dependencies of P2 are also accessible in P1build.sbt
would remove this explicity added IntellIJ-project-struture-module-dependency to P2. So I propose to turn sbt auto-import
off in Intellij and the dependency is kept any time you restart IntelliJ