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

settings.xml now uses camel case tags.

This commit is contained in:
Cedric Beust 2016-07-20 22:46:00 -08:00
parent 29dc3dd466
commit 8a30679966
5 changed files with 13 additions and 13 deletions

View file

@ -52,7 +52,7 @@ open class MainModule(val args: Args, val settings: KobaltSettings) : AbstractMo
})
EventBus().let { eventBus ->
bind(EventBus::class.java).toInstance(eventBus)
bind(Aether::class.java).toInstance(Aether(settings.localRepo, settings, eventBus))
bind(Aether::class.java).toInstance(Aether(settings.localCache, settings, eventBus))
}
bind(PluginInfo::class.java).toProvider(Provider<PluginInfo> {
PluginInfo.readKobaltPluginXml()

View file

@ -8,7 +8,7 @@ import com.google.inject.Scopes
import java.io.File
val TEST_KOBALT_SETTINGS = KobaltSettings(KobaltSettingsXml()).apply {
localRepo = File(SystemProperties.homeDir + File.separatorChar + ".kobalt-test")
localCache = File(SystemProperties.homeDir + File.separatorChar + ".kobalt-test")
}
class TestLocalRepo: LocalRepo(TEST_KOBALT_SETTINGS)