fix project/transitive-plugins test, second try

This commit is contained in:
Mark Harrah 2012-03-14 18:51:17 -04:00
parent 1ffa7b7d92
commit b523594f6a
1 changed files with 10 additions and 5 deletions

View File

@ -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"))
}