Merge pull request #26 from sbt/wip/dir

Use .sbt/matrix/foo as base directory
This commit is contained in:
eugene yokota 2020-05-05 17:36:35 -04:00 committed by GitHub
commit 6c5e5334ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)