From 00e90eabd01939cbce6723e8ecc051185b29b24e Mon Sep 17 00:00:00 2001 From: LamGC Date: Mon, 28 Feb 2022 08:25:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(extension):=20=E7=A7=BB=E9=99=A4=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=9A=84=20MavenRepositoryExtensionFinder.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 MavenRepositoryExtensionFinder 的初始化过程交给 Launcher 执行. --- scalabot-app/src/main/kotlin/ExtensionComponents.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scalabot-app/src/main/kotlin/ExtensionComponents.kt b/scalabot-app/src/main/kotlin/ExtensionComponents.kt index 7b30022..a5b7315 100644 --- a/scalabot-app/src/main/kotlin/ExtensionComponents.kt +++ b/scalabot-app/src/main/kotlin/ExtensionComponents.kt @@ -24,10 +24,7 @@ internal class ExtensionLoader( private val finders: Set = mutableSetOf( FileNameFinder, - MavenMetaInformationFinder, - MavenRepositoryExtensionFinder( - proxy = Const.config.proxy.toAetherProxy() - ) + MavenMetaInformationFinder ).apply { addAll(extensionFinders) }.toSet() fun getExtensions(): Set {