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

* fix proxy resolution for artifact resolving: proxy resolution should not be dependant on KobaltContext

This commit is contained in:
Dmitry Zhuravlev 2016-04-27 00:48:45 +03:00
parent 21e22161db
commit 9c112bd7a1
6 changed files with 40 additions and 37 deletions

View file

@ -53,7 +53,7 @@ public open class MainModule(val args: Args, val settings: KobaltSettings) : Abs
bind(KobaltSettings::class.java).toProvider(Provider<KobaltSettings> {
settings
}).`in`(Singleton::class.java)
bind(Aether::class.java).toInstance(Aether(settings.localRepo))
bind(Aether::class.java).toInstance(Aether(settings.localRepo,settings))
// bindListener(Matchers.any(), object: TypeListener {
// override fun <I> hear(typeLiteral: TypeLiteral<I>?, typeEncounter: TypeEncounter<I>?) {