From 494edaed90b3ccb9736d3a5b31b6d4537b4fc8ea Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Mon, 11 Apr 2016 09:48:18 -0700 Subject: [PATCH] listOf(). --- .../src/main/kotlin/com/beust/kobalt/maven/DependencyManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/DependencyManager.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/DependencyManager.kt index 4bb33316..592bbe82 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/DependencyManager.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/DependencyManager.kt @@ -180,7 +180,7 @@ class DependencyManager @Inject constructor(val executors: KobaltExecutors, val // Make sure that classes/ and test-classes/ are always at the top of this classpath, // so that older versions of that project on the classpath don't shadow them - val result2 = arrayListOf(FileDependency(KFiles.makeOutputDir(project).absolutePath), + val result2 = listOf(FileDependency(KFiles.makeOutputDir(project).absolutePath), FileDependency(KFiles.makeOutputTestDir(project).absolutePath)) + reorderDependencies(result) return result2