fix(config): 更改 MavenRepositoryConfig.proxy 的默认值.

防止因默认值导致出现错误的代理配置, 故将默认值更改为无代理(null).
This commit is contained in:
LamGC 2022-05-19 16:43:25 +08:00
parent 9aab3c2a24
commit 72e26bd677
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -104,7 +104,7 @@ internal data class MetricsConfig(
internal data class MavenRepositoryConfig(
val id: String? = null,
val url: URL,
val proxy: Proxy? = Proxy("http", "127.0.0.1", 1080),
val proxy: Proxy? = null,
val layout: String = "default",
val enableReleases: Boolean = true,
val enableSnapshots: Boolean = true,