[console] Add https://repo1.maven.org/maven2/ to default servers

This commit is contained in:
Karlatemp 2022-10-29 22:57:03 +08:00
parent 440122d4f9
commit d648e56867
No known key found for this signature in database
GPG Key ID: BA173CA2B9956C59

View File

@ -16,5 +16,10 @@ import net.mamoe.mirai.console.data.value
@Suppress("RemoveExplicitTypeArguments")
internal class PluginDependenciesConfig : ReadOnlyPluginConfig("PluginDependencies") {
@ValueDescription("远程仓库, 如无必要无需修改")
val repoLoc by value(listOf<String>("https://maven.aliyun.com/repository/central"))
val repoLoc: List<String> by value(
listOf<String>(
"https://maven.aliyun.com/repository/central",
"https://repo1.maven.org/maven2/",
)
)
}