mirror of https://github.com/sbt/sbt.git
fix project/transitive-plugins test, second try
This commit is contained in:
parent
1ffa7b7d92
commit
b523594f6a
|
|
@ -7,10 +7,15 @@ object Build extends Build
|
|||
sbtBinaryVersion <<= sbtVersion
|
||||
)
|
||||
|
||||
lazy val root = Project("root", file(".")) aggregate(a,b,c) settings(
|
||||
ivyPaths in ThisBuild <<= (baseDirectory, target)( (dir, t) => new IvyPaths(dir, Some(t / "ivy-cache")))
|
||||
lazy val root = Project("root", file("."))
|
||||
lazy val a = project("a")
|
||||
lazy val b = project("b")
|
||||
lazy val c = project("c")
|
||||
def project(s: String) = Project(s, file(s)) settings(
|
||||
ivyPaths <<= (baseDirectory, target in root)( (dir, t) => new IvyPaths(dir, Some(t / "ivy-cache"))),
|
||||
resolvers <+= appConfiguration { app =>
|
||||
val ivyHome = Classpaths.bootIvyHome(app) getOrElse (file(System.getProperty("user.home")) / ".ivy2")
|
||||
Resolver.file("real-local", ivyHome / "local")(Resolver.ivyStylePatterns)
|
||||
}
|
||||
)
|
||||
lazy val a = Project("a", file("a"))
|
||||
lazy val b = Project("b", file("b"))
|
||||
lazy val c = Project("c", file("c"))
|
||||
}
|
||||
Loading…
Reference in New Issue