# 并行构建 - 利用多核CPU org.gradle.parallel=true # 构建缓存 - 加速重复构建 org.gradle.caching=true # 按需配置 - 只配置需要的项目 org.gradle.configureondemand=true # JVM参数优化 (针对Dragonwell优化) org.gradle.jvmargs=-Xmx2g -XX:+UseContainerSupport -XX:MaxRAMPercentage=75.0 -XX:+UnlockExperimentalVMOptions -XX:+UseWisp2 # Gradle守护进程 org.gradle.daemon=true # 文件系统监控 - 增量构建 org.gradle.vfs.watch=true # Kotlin编译器优化 kotlin.compiler.execution.strategy=in-process kotlin.incremental=true # 网络超时设置 systemProp.org.gradle.internal.http.connectionTimeout=60000 systemProp.org.gradle.internal.http.socketTimeout=60000 # 禁用不必要的功能 org.gradle.welcome=never