Skip to content

Commit 778ce6c

Browse files
authored
Merge pull request #1643 from lwronski/fix-m1-fetch
Fix - merge extra repos with resolve.repositories
2 parents 337f967 + 58a9088 commit 778ce6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/options/src/main/scala/scala/build/internal/FetchExternalBinary.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ object FetchExternalBinary {
4545
params.forcedVersions.map { case (m, v) => m.toCs -> v }*
4646
)
4747
}
48-
.withRepositories(params.extraRepos)
48+
.addRepositories(params.extraRepos: _*)
4949
.run()(archiveCache.cache.ec)
5050
.map(os.Path(_, os.pwd))
5151
ExternalBinary.ClassPath(javaCommand(), classPath, params.mainClass)

0 commit comments

Comments
 (0)