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

Reformatting.

This commit is contained in:
Cedric Beust 2015-11-18 23:17:11 -08:00
parent bb35408c56
commit 70bff11edb

View file

@ -42,12 +42,13 @@ class KotlinPlugin @Inject constructor(
val result =
if (cai.sourceFiles.size > 0) {
compilePrivate(project, cai.dependencies, cai.sourceFiles, cai.outputDir)
lp(project, "Compilation succeeded")
TaskResult()
} else {
warn("Couldn't find any source files")
TaskResult()
}
lp(project, "Compilation " + if (result.success) "succeeded" else "failed")
return result
}