diff --git a/sbt/src/sbt-test/dependency-management/ivy-settings-multi-a/build.sbt b/sbt/src/sbt-test/dependency-management/ivy-settings-multi-a/build.sbt new file mode 100644 index 000000000..28330f49c --- /dev/null +++ b/sbt/src/sbt-test/dependency-management/ivy-settings-multi-a/build.sbt @@ -0,0 +1,19 @@ +lazy val commonSettings = Seq( + autoScalaLibrary := false, + unmanagedJars in Compile <++= scalaInstance map (_.allJars.toSeq) +) + +lazy val dep = project. + settings( + commonSettings, + organization := "org.example", + version := "1.0" + ) + +lazy val use = project. + dependsOn(dep). + settings( + commonSettings, + libraryDependencies += "junit" % "junit" % "4.5", + externalIvySettings() + ) diff --git a/sbt/src/sbt-test/dependency-management/ivy-settings-multi-a/project/P.scala b/sbt/src/sbt-test/dependency-management/ivy-settings-multi-a/project/P.scala deleted file mode 100644 index c4dfc7bec..000000000 --- a/sbt/src/sbt-test/dependency-management/ivy-settings-multi-a/project/P.scala +++ /dev/null @@ -1,19 +0,0 @@ -import sbt._ -import Keys._ -import Import._ - -object B extends Build -{ - lazy val dep = Project("dep", file("dep")) settings( baseSettings : _*) settings( - organization := "org.example", - version := "1.0" - ) - lazy val use = Project("use", file("use")) dependsOn(dep) settings(baseSettings : _*) settings( - libraryDependencies += "junit" % "junit" % "4.5", - externalIvySettings() - ) - lazy val baseSettings = Seq( - autoScalaLibrary := false, - unmanagedJars in Compile <++= scalaInstance map (_.allJars.toSeq) - ) -}