From d948f5ec5d1b05f82fdf26f8cf2cea398ea3ad27 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Tue, 14 Feb 2017 07:49:25 -0800 Subject: [PATCH] Restore build file debugging. --- src/main/kotlin/com/beust/kobalt/app/BuildFileCompiler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/app/BuildFileCompiler.kt b/src/main/kotlin/com/beust/kobalt/app/BuildFileCompiler.kt index 8b17e1bc..0115de43 100644 --- a/src/main/kotlin/com/beust/kobalt/app/BuildFileCompiler.kt +++ b/src/main/kotlin/com/beust/kobalt/app/BuildFileCompiler.kt @@ -147,7 +147,7 @@ class BuildFileCompiler @Inject constructor(@Assisted("buildFiles") val buildFil classpath(files.kobaltJar) classpath(pluginUrls.map { it.file }) classpath(buildFileClasspath) - sourceFiles(listOf(buildFile.path.toFile().absolutePath)) + sourceFiles(listOf(buildFile.realPath.toFile().absolutePath)) output = buildScriptJarFile }.compile(context = context)