mirror of https://github.com/sbt/sbt.git
Port project/build-deps
This commit is contained in:
parent
a2011fda6c
commit
174116b604
|
|
@ -0,0 +1,3 @@
|
|||
lazy val root = (project in file("."))
|
||||
lazy val a = project
|
||||
lazy val b = project
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
buildDependencies in Global <<= (buildDependencies in Global, thisProjectRef, thisProjectRef in a) { (deps, refB, refA) =>
|
||||
buildDependencies in Global <<= (buildDependencies in Global, thisProjectRef, thisProjectRef in LocalProject("a")) { (deps, refB, refA) =>
|
||||
deps.addClasspath(refA, ResolvedClasspathDependency(refB, None))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
import sbt._
|
||||
import Keys._
|
||||
import Import._
|
||||
|
||||
object B extends Build
|
||||
{
|
||||
lazy val root = Project("root", file("."))
|
||||
lazy val a = Project("a", file("a"))
|
||||
lazy val b = Project("b", file("b"))
|
||||
}
|
||||
Loading…
Reference in New Issue