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

Fix tests.

This commit is contained in:
Cedric Beust 2015-12-15 21:40:40 -08:00
parent b2a187d4d8
commit fd19860493
2 changed files with 8 additions and 4 deletions

View file

@ -18,8 +18,9 @@ public class DepFactory @Inject constructor(val localRepo: LocalRepo,
val pomFactory: Pom.IFactory) {
companion object {
val defExecutor =
Kobalt.INJECTOR.getInstance(Key.get(ExecutorService::class.java, DependencyExecutor::class.java))
val defExecutor : ExecutorService by lazy {
Kobalt.INJECTOR.getInstance(Key.get(ExecutorService::class.java, DependencyExecutor::class.java))
}
}
/**