mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
* fix proxy resolution for artifact resolving: proxy resolution should not be dependant on KobaltContext
This commit is contained in:
parent
21e22161db
commit
9c112bd7a1
6 changed files with 40 additions and 37 deletions
|
@ -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>?) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue