diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/misc/KFiles.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/misc/KFiles.kt index c27949c7..93bb2077 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/misc/KFiles.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/misc/KFiles.kt @@ -33,10 +33,10 @@ class KFiles { } else { // Will only happen when building kobalt itself: the jar file might not be in the dist/ directory // yet since we're currently building it. Instead, use the classes directly - debug("Couldn't find ${jarFile.absolutePath}, using build/classes/main") val result = listOf("kobalt", "kobalt-plugin-api", "kobalt-wrapper").map { File(homeDir(KFiles.joinDir("kotlin", "kobalt", "out", "production", it))).absolutePath } + debug("Couldn't find ${jarFile.absolutePath}, using\n " + result.joinToString(" ")) return result } }