From 6005ad73f188146efd77e3a56028613133eb5ce4 Mon Sep 17 00:00:00 2001 From: Kurt Kopchik Date: Tue, 25 Jul 2017 16:03:56 -0400 Subject: [PATCH] Update the path for test resources to come first to have parity with how SBT resolves resources --- src/main/scala/com/tapad/docker/DockerComposeSettings.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/tapad/docker/DockerComposeSettings.scala b/src/main/scala/com/tapad/docker/DockerComposeSettings.scala index 524ef1b..32fc0e4 100644 --- a/src/main/scala/com/tapad/docker/DockerComposeSettings.scala +++ b/src/main/scala/com/tapad/docker/DockerComposeSettings.scala @@ -42,7 +42,7 @@ trait DockerComposeSettingsLocal extends PrintFormatting { val classpathTestManaged = (managedClasspath in Test).value val classpathTestUnmanaged = (unmanagedClasspath in Test).value val testResources = (resources in Test).value - (fullClasspathCompile.files ++ classpathTestManaged.files ++ classpathTestUnmanaged.files ++ testResources).map(_.getAbsoluteFile).mkString(File.pathSeparator) + (testResources ++ fullClasspathCompile.files ++ classpathTestManaged.files ++ classpathTestUnmanaged.files).map(_.getAbsoluteFile).mkString(File.pathSeparator) }, testCasesJar := artifactPath.in(Test, packageBin).value.getAbsolutePath, testCasesPackageTask := (sbt.Keys.packageBin in Test).value,