1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

Better message.

This commit is contained in:
Cedric Beust 2015-12-18 02:34:53 +04:00
parent 148070274f
commit f0d59c94ed

View file

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