mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-04-29 06:07:30 +00:00
fix(extension): 移除默认的 MavenRepositoryExtensionFinder.
将 MavenRepositoryExtensionFinder 的初始化过程交给 Launcher 执行.
This commit is contained in:
parent
285c8b04d1
commit
00e90eabd0
@ -24,10 +24,7 @@ internal class ExtensionLoader(
|
||||
|
||||
private val finders: Set<ExtensionPackageFinder> = mutableSetOf(
|
||||
FileNameFinder,
|
||||
MavenMetaInformationFinder,
|
||||
MavenRepositoryExtensionFinder(
|
||||
proxy = Const.config.proxy.toAetherProxy()
|
||||
)
|
||||
MavenMetaInformationFinder
|
||||
).apply { addAll(extensionFinders) }.toSet()
|
||||
|
||||
fun getExtensions(): Set<LoadedExtensionEntry> {
|
||||
|
Loading…
Reference in New Issue
Block a user