1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-25 16:07:12 -07:00

* #232 This fix will allow to debug Build.kt files in Kobalt projects

This commit is contained in:
Dmitry Zhuravlev 2016-06-06 17:10:37 +03:00
parent e78a4e3365
commit e0dc269a89

View file

@ -124,7 +124,7 @@ public class BuildFileCompiler @Inject constructor(@Assisted("buildFiles") val b
val result = kotlinCompilePrivate {
classpath(files.kobaltJar)
classpath(pluginUrls.map { it.file })
sourceFiles(listOf(buildFile.path.toFile().absolutePath))
sourceFiles(listOf(buildFile.realPath.toFile().absolutePath))
output = buildScriptJarFile
}.compile(context = context)