mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 16:07:12 -07:00
Use the misc executor (otherwise threads left hanging).
This commit is contained in:
parent
108019ded3
commit
d5cd7ab63d
1 changed files with 1 additions and 2 deletions
|
@ -23,8 +23,7 @@ fun plugins(vararg dependency : IClasspathDependency) {
|
|||
|
||||
@Directive
|
||||
fun plugins(vararg dependencies : String) {
|
||||
val executor = Kobalt.INJECTOR.getInstance(KobaltExecutors::class.java)
|
||||
.newExecutor("BuildScript", 5)
|
||||
val executor = Kobalt.INJECTOR.getInstance(KobaltExecutors::class.java).miscExecutor
|
||||
val factory = Kobalt.INJECTOR.getInstance(DepFactory::class.java)
|
||||
dependencies.forEach {
|
||||
Plugins.dynamicPlugins.add(factory.create(it, executor))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue