From d777ca20cbf95bbead887f9df5770107a788144e Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Sat, 18 Mar 2017 23:09:28 -0700 Subject: [PATCH] Change warn() to log(). --- .../main/kotlin/com/beust/kobalt/api/ICompilerContributor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/api/ICompilerContributor.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/api/ICompilerContributor.kt index fa48427e..18dde1a1 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/api/ICompilerContributor.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/api/ICompilerContributor.kt @@ -58,7 +58,7 @@ class CompilerDescription(override val name: String, override val sourceDirecto if (info.sourceFiles.isNotEmpty()) { compiler.compile(project, context, info) } else { - warn("$name cdouldn't find any source files to compile") + log(2, "$name couldn't find any source files to compile") TaskResult() } return result