From 5618333a9da1056be12531d0a11b158f850e47b5 Mon Sep 17 00:00:00 2001 From: cssxsh Date: Wed, 23 Nov 2022 18:39:21 +0800 Subject: [PATCH] [console/plugin] Fix multi-dependency-repositories not working (#2358) --- .../src/internal/plugin/JvmPluginDependencyDownload.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-console/backend/mirai-console/src/internal/plugin/JvmPluginDependencyDownload.kt b/mirai-console/backend/mirai-console/src/internal/plugin/JvmPluginDependencyDownload.kt index e15200db6..c9a080d8d 100644 --- a/mirai-console/backend/mirai-console/src/internal/plugin/JvmPluginDependencyDownload.kt +++ b/mirai-console/backend/mirai-console/src/internal/plugin/JvmPluginDependencyDownload.kt @@ -252,7 +252,7 @@ internal class JvmPluginDependencyDownloader( repositories = repository.newResolutionRepositories( session, config.repoLoc.map { url -> - RemoteRepository.Builder(null, "default", url).build() + RemoteRepository.Builder(url, "default", url).build() } ) logger.debug { "Remote server: " + config.repoLoc }