Commit 3386e0d3 authored by Max yv's avatar Max yv Committed by Mygod

speed up for gradle (#1894)

* speed up for gradle

* travis-ci: caching for build-cache folder

* enable gradle parallel execution

reference: https://guides.gradle.org/performance/#parallel_execution

* Revert "enable gradle parallel execution"

This reverts commit b3d6e46e8b94a266a1fec80ab1fe03d1469c3d53.

* update gradle.properties

- `-Xmx2048M` -> `-Xmx2g`
- `android.enableBuildCache=true` is the default value
parent f60b0970
......@@ -15,6 +15,7 @@ cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache/
install:
- pushd $ANDROID_HOME
......
......@@ -11,7 +11,7 @@
# The setting is particularly useful for tweaking memory settings.
android.enableJetifier=true
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m
org.gradle.jvmargs=-Xmx2g
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment