mirror of https://github.com/sbt/sbt.git
Port project/circular
This commit is contained in:
parent
174116b604
commit
32d21d0685
|
|
@ -0,0 +1,5 @@
|
||||||
|
lazy val root = (project in file(".")).
|
||||||
|
aggregate(LocalProject("sub"))
|
||||||
|
|
||||||
|
lazy val sub = project.
|
||||||
|
dependsOn(root)
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
import sbt._
|
|
||||||
import Keys._
|
|
||||||
import Import._
|
|
||||||
|
|
||||||
object Build extends Build {
|
|
||||||
|
|
||||||
lazy val root: Project = Project(
|
|
||||||
"root",
|
|
||||||
file("."),
|
|
||||||
aggregate = Seq(sub)
|
|
||||||
)
|
|
||||||
|
|
||||||
lazy val sub: Project = Project(
|
|
||||||
"sub",
|
|
||||||
file("sub"),
|
|
||||||
dependencies = Seq(root)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue