fix: 配置腾讯云镜像和优化网络设置

- Gradle Wrapper 使用腾讯云镜像,避免 GitHub 访问问题
- 增加网络超时时间到 10 分钟
- 启用 Gradle 缓存和按需配置
- 预留代理配置选项

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
hughhuangandClaude Sonnet 4.5 committed 2026-01-22 00:50:28 +08:00
1 parent 953815e400
commit fc678a6bf2
2 files changed
+16 -1

No files matched your search

+15
View File
@@ -24,3 +24,18 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
# 网络配置:禁用 Gradle 版本检查,避免网络问题
org.gradle.daemon=true
org.gradle.caching=true
org.gradle.configureondemand=true
# 配置超时时间(毫秒)
systemProp.org.gradle.internal.http.connectionTimeout=600000
systemProp.org.gradle.internal.http.socketTimeout=600000
# 如果需要使用代理,取消以下注释并配置
# systemProp.http.proxyHost=127.0.0.1
# systemProp.http.proxyPort=7890
# systemProp.https.proxyHost=127.0.0.1
# systemProp.https.proxyPort=7890