Use .sbt/matrix/foo as base directory

Fixes #25
This commit is contained in:
Eugene Yokota 2020-05-05 14:45:55 -04:00
parent 6922fde83d
commit 1c7615c992
1 changed files with 3 additions and 1 deletions

View File

@ -226,7 +226,9 @@ object ProjectMatrix {
val other = lookupMatrix(ref)
resolveMatrixAggregate(other, r)
}
val p = Project(childId, base.getAbsoluteFile)
val dotSbtMatrix = new java.io.File(".sbt") / "matrix"
IO.createDirectory(dotSbtMatrix)
val p = Project(childId, dotSbtMatrix / childId)
.dependsOn(deps: _*)
.aggregate(aggs: _*)
.setPlugins(plugins)