-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathgradle.properties
18 lines (18 loc) · 1.08 KB
/
gradle.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
#org.gradle.java.home=/home/zkw/develop/android-studio/jre
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
org.gradle.parallel=true //开启并行编译
org.gradle.daemon=true // 开启线程守护,第一次编译时开线程,之后就不会再开了
#在javac之后会执行 desugar 步骤以优化字节码.
#在D8中启用desugaring将删除该步骤,并作为D8的一部分执行desugar,使其优化效率更好
android.enableD8.desugaring=true