From 33eb4b0908c8d7fd44bdff8225b9df765d68d88e Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Mon, 18 Jul 2016 07:14:15 -0700 Subject: [PATCH] Relative paths. --- .../main/kotlin/com/beust/kobalt/maven/DependencyManager.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 1bcb7b67..a954b6a5 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 @@ -220,8 +220,8 @@ class DependencyManager @Inject constructor(val executors: KobaltExecutors, val // so that older versions of that project on the classpath don't shadow them val result = arrayListOf().apply { if (isTest) { - add(FileDependency(KFiles.makeOutputDir(project).absolutePath)) - add(FileDependency(KFiles.makeOutputTestDir(project).absolutePath)) + add(FileDependency(KFiles.makeOutputDir(project).path)) + add(FileDependency(KFiles.makeOutputTestDir(project).path)) } addAll(reorderDependencies(transitive)) }