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

Fix kotlinc 1.0.6 error stream weirdness.

This commit is contained in:
Cedric Beust 2017-01-28 10:14:31 -08:00
parent 1a01c85fe8
commit b4413814fc

View file

@ -110,6 +110,8 @@ class KotlinCompiler @Inject constructor(
command = java.absolutePath
args = newArgs
directory = File(".")
// The Kotlin compiler issues warnings on stderr :-(
useErrorStreamAsErrorIndicator = false
}).invoke()
return TaskResult(result == 0, "Error while compiling")
}