Port project/build-deps

This commit is contained in:
Eugene Yokota 2016-03-29 01:47:20 -04:00
parent a2011fda6c
commit 174116b604
3 changed files with 4 additions and 11 deletions

View File

@ -0,0 +1,3 @@
lazy val root = (project in file("."))
lazy val a = project
lazy val b = project

View File

@ -1,3 +1,3 @@
buildDependencies in Global <<= (buildDependencies in Global, thisProjectRef, thisProjectRef in a) { (deps, refB, refA) =>
buildDependencies in Global <<= (buildDependencies in Global, thisProjectRef, thisProjectRef in LocalProject("a")) { (deps, refB, refA) =>
deps.addClasspath(refA, ResolvedClasspathDependency(refB, None))
}

View File

@ -1,10 +0,0 @@
import sbt._
import Keys._
import Import._
object B extends Build
{
lazy val root = Project("root", file("."))
lazy val a = Project("a", file("a"))
lazy val b = Project("b", file("b"))
}