mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 07:57:12 -07:00
add Args parameter to newReposityrSystemSession call
This commit is contained in:
parent
e1adc87281
commit
3475377185
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
package com.beust.kobalt.misc
|
||||
|
||||
import com.beust.kobalt.Args
|
||||
import com.beust.kobalt.BaseTest
|
||||
import com.beust.kobalt.internal.KobaltSettings
|
||||
import com.beust.kobalt.internal.KobaltSettingsXml
|
||||
|
@ -95,7 +96,7 @@ class MavenResolverTest : BaseTest() {
|
|||
private fun resolve(id: String): List<ArtifactResult> {
|
||||
val system = Booter.newRepositorySystem()
|
||||
val session = Booter.newRepositorySystemSession(system,
|
||||
localRepo.localRepo, KobaltSettings(KobaltSettingsXml()), EventBus())
|
||||
localRepo.localRepo, KobaltSettings(KobaltSettingsXml()), Args(), EventBus())
|
||||
val artifact = DefaultArtifact(id)
|
||||
|
||||
val collectRequest = CollectRequest().apply {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue