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

Dev mode: use build/classes from homeDir().

This commit is contained in:
Cedric Beust 2015-11-09 18:12:43 -08:00
parent 3b52d56f58
commit 87b2f3b982

View file

@ -26,7 +26,7 @@ class KFiles {
// 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") debug("Couldn't find ${jarFile.absolutePath}, using build/classes/main")
return java.io.File(joinDir("build", "classes", "main")).absolutePath return File(homeDir("kotlin", "kobalt", "build", "classes", "main")).absolutePath
} }
} }
} }