1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -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 { } else {
// Will only happen when building kobalt itself: the jar file might not be in the dist/ directory // 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 // 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 { val result = listOf("kobalt", "kobalt-plugin-api", "kobalt-wrapper").map {
File(homeDir(KFiles.joinDir("kotlin", "kobalt", "out", "production", it))).absolutePath File(homeDir(KFiles.joinDir("kotlin", "kobalt", "out", "production", it))).absolutePath
} }
debug("Couldn't find ${jarFile.absolutePath}, using\n " + result.joinToString(" "))
return result return result
} }
} }