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

Add to the projects.

This commit is contained in:
Cedric Beust 2015-11-05 17:35:22 -08:00
parent 65b0f44f6c
commit 1b27baf05f

View file

@ -133,7 +133,8 @@ private class Main @Inject constructor(
} else {
var allProjects = arrayListOf<Project>()
try {
allProjects = buildFileCompilerFactory.create(listOf(buildFile), pluginInfo).compileBuildFiles(args)
allProjects.addAll(buildFileCompilerFactory.create(listOf(buildFile), pluginInfo)
.compileBuildFiles(args))
} catch(ex: KobaltException) {
throw ex
} catch(ex: Throwable) {