build scripts: show how to download Kotlin in error message, added run configuration which downloads Kotlin from internal TeamCity

This commit is contained in:
nik
2015-11-13 17:14:37 +03:00
parent 9f03168d2c
commit 1593c1cc7d
+1 -1
View File
@@ -139,7 +139,7 @@ binding.setVariable("loadProject", {
bundledKotlinPath = "$home/community/build/kotlinc"
}
if (!new File(bundledKotlinPath, "lib/kotlin-runtime.jar").exists()) {
projectBuilder.error("Could not find Kotlin runtime at $bundledKotlinPath/lib/kotlin-runtime.jar")
projectBuilder.error("Could not find Kotlin runtime at $bundledKotlinPath/lib/kotlin-runtime.jar: run download_kotlin.gant script to download Kotlin JARs")
return
}
setPathVariable("KOTLIN_BUNDLED", bundledKotlinPath)