更新Gradle配置、IDE设置和项目系统配置

This commit is contained in:
2026-02-25 23:05:34 +08:00
parent 2f43a1e407
commit 285c1443cd
6 changed files with 38 additions and 4 deletions

View File

@@ -7,6 +7,10 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# 网络连接超时设置
org.gradle.internal.http.connectionTimeout=120000
org.gradle.internal.http.socketTimeout=120000
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. For more details, visit
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
@@ -20,4 +24,10 @@ kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the
# 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
android.nonTransitiveRClass=true
# Gradle 下载镜像配置
# 使用阿里云镜像加速下载
org.gradle.wrapper.downloadUrl=https://mirrors.aliyun.com/macports/distfiles/gradle/
# 备用腾讯云镜像
# org.gradle.wrapper.downloadUrl=https://mirrors.cloud.tencent.com/gradle/