mirror of https://github.com/sbt/sbt.git
Port dependency-management/parent-publish
This commit is contained in:
parent
826787d7ad
commit
4ada116c3d
|
|
@ -0,0 +1,23 @@
|
|||
lazy val parent = (project in file(".")).
|
||||
aggregate(core, reporters).
|
||||
settings(
|
||||
name := "Flowmodel"
|
||||
)
|
||||
|
||||
lazy val core = (project in file("core")).
|
||||
settings(
|
||||
name := "Flowmodel-core"
|
||||
)
|
||||
|
||||
lazy val reporters = (project in file("reporters")).
|
||||
aggregate(jfreechart).
|
||||
dependsOn(jfreechart).
|
||||
settings(
|
||||
name := "Extra-reporters"
|
||||
)
|
||||
|
||||
lazy val jfreechart = (project in file("jfreechart")).
|
||||
dependsOn(core).
|
||||
settings(
|
||||
name := "JFreeChart-reporters"
|
||||
)
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
import sbt._
|
||||
import Import._
|
||||
|
||||
object ParentTest extends Build
|
||||
{
|
||||
lazy val parent: Project = Project("Flowmodel", file(".")) aggregate(core, reporters)
|
||||
lazy val core: Project = Project("Flowmodel-core", file("core"), delegates = parent :: Nil)
|
||||
lazy val reporters: Project = Project("Extra-reporters", file("reporters"), delegates = parent :: Nil) aggregate(jfreechart) dependsOn(jfreechart)
|
||||
lazy val jfreechart: Project = Project("JFreeChart-reporters", file("jfreechart")/*, delegates = reporters :: Nil*/) dependsOn(core)
|
||||
}
|
||||
Loading…
Reference in New Issue