mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-04-29 14:17: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(
|
private val finders: Set<ExtensionPackageFinder> = mutableSetOf(
|
||||||
FileNameFinder,
|
FileNameFinder,
|
||||||
MavenMetaInformationFinder,
|
MavenMetaInformationFinder
|
||||||
MavenRepositoryExtensionFinder(
|
|
||||||
proxy = Const.config.proxy.toAetherProxy()
|
|
||||||
)
|
|
||||||
).apply { addAll(extensionFinders) }.toSet()
|
).apply { addAll(extensionFinders) }.toSet()
|
||||||
|
|
||||||
fun getExtensions(): Set<LoadedExtensionEntry> {
|
fun getExtensions(): Set<LoadedExtensionEntry> {
|
||||||
|
Loading…
Reference in New Issue
Block a user