mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Reformatting.
This commit is contained in:
parent
bb35408c56
commit
70bff11edb
1 changed files with 10 additions and 9 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue