Merge pull request #300 from eed3si9n/wip/isolate

isolate Ivy homes during tests
This commit is contained in:
eugene yokota 2019-04-29 01:32:30 -04:00 committed by GitHub
commit 18f4fc75e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"))