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)) }