isolate Ivy homes during tests

This commit is contained in:
Eugene Yokota 2019-04-29 00:51:57 -04:00
parent f073dde812
commit a28b546457
1 changed files with 4 additions and 3 deletions

View File

@ -11,9 +11,10 @@ import Configurations._
trait BaseIvySpecification extends AbstractEngineSpec {
def currentBase: File = new File(".")
def currentTarget: File = currentBase / "target" / "ivyhome"
def currentManaged: File = currentBase / "target" / "lib_managed"
def currentDependency: File = currentBase / "target" / "dependency"
def label: String = this.getClass.getSimpleName
def currentTarget: File = currentBase / "target" / label / "ivyhome"
def currentManaged: File = currentBase / "target" / label / "lib_managed"
def currentDependency: File = currentBase / "target" / label / "dependency"
def defaultModuleId: ModuleID =
ModuleID("com.example", "foo", "0.1.0").withConfigurations(Some("compile"))