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

Show compilation error message.

This commit is contained in:
Cedric Beust 2016-03-19 21:34:18 -07:00
parent 100cca4eeb
commit b8c51abea2

View file

@ -128,6 +128,9 @@ class KotlinPlugin @Inject constructor(val executors: KobaltExecutors,
}
lp(project, "Compilation " + if (result.success) "succeeded" else "failed")
if (! result.success && result.errorMessage != null) {
lp(project, result.errorMessage!!)
}
return result
}
}