From f0c413ecb17fbfee24c6e926b2fbdebafdc0b332 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Sun, 20 Mar 2016 15:24:13 -0700 Subject: [PATCH] Really show compilation error messages this time. --- src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt b/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt index 6bff50ac..6ae87b00 100644 --- a/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt +++ b/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt @@ -129,7 +129,7 @@ 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!!) + error(result.errorMessage!!) } return result }