更新Gradle配置、IDE设置和项目系统配置
This commit is contained in:
@@ -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/
|
||||
Reference in New Issue
Block a user