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

Update to new structure.

This commit is contained in:
Cedric Beust 2016-03-10 03:21:23 +04:00
parent 376fa40e10
commit 42cb7ff441
7 changed files with 16 additions and 18 deletions

View file

@ -26,7 +26,8 @@ class KFiles {
debug("Using kobalt jar $envJar")
return listOf(File(envJar).absolutePath)
} else {
val jar = joinDir(distributionsDir, Kobalt.version, "kobalt/wrapper/kobalt-" + Kobalt.version + ".jar")
val jar = joinDir(distributionsDir, "kobalt-" + Kobalt.version,
"kobalt/wrapper/kobalt-" + Kobalt.version + ".jar")
val jarFile = File(jar)
if (jarFile.exists()) {
return listOf(jarFile.absolutePath)