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

Clear the list of dynamic plug-ins.

This commit is contained in:
Cedric Beust 2017-02-17 13:32:43 -08:00
parent d298914636
commit 04810f4df8

View file

@ -63,6 +63,11 @@ class BuildFileCompiler @Inject constructor(@Assisted("buildFiles") val buildFil
context.logger = parallelLogger
Kobalt.context = context
// The list of dynamic plug-ins has to be a companion since it's modified directly from
// the build file, so make sure to reset it so that dynamic plug-ins don't bleed from
// one build compilation to the next
Plugins.dynamicPlugins.clear()
//
// Find all the projects in the build file, possibly compiling them
//