mirror of https://github.com/sbt/sbt.git
Port dependency-management/delegate
This commit is contained in:
parent
33c7db17c5
commit
380b22f7fd
|
|
@ -0,0 +1,8 @@
|
|||
lazy val root = (project in file(".")).
|
||||
aggregate(logic, ui)
|
||||
|
||||
lazy val logic = (project in file("logic")).
|
||||
delegateTo(LocalProject("root"))
|
||||
|
||||
lazy val ui = (project in file("ui")).
|
||||
delegateTo(LocalProject("root"))
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
import sbt._
|
||||
import Keys._
|
||||
import Import._
|
||||
|
||||
object B extends Build
|
||||
{
|
||||
lazy val root: Project = Project("root", file(".")) aggregate(logic, ui)
|
||||
lazy val logic: Project = Project("logic", file("logic"), delegates = root :: Nil)
|
||||
lazy val ui: Project = Project("ui", file("ui"), delegates = root :: Nil) dependsOn(logic)
|
||||
}
|
||||
Loading…
Reference in New Issue