diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-11-04 12:05:05 +0200 |
---|---|---|
committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-11-08 13:20:08 +0200 |
commit | 48e8f59d655cc0f1fbe0a7b33e064bb4f35f8920 (patch) | |
tree | c158683acd1ea0877ced5edd54b284ab010d26e0 /src/3rdparty/gradle/gradle.properties | |
parent | 052618e051dd23392b20f248fae61135bc27c35a (diff) | |
download | qtbase-48e8f59d655cc0f1fbe0a7b33e064bb4f35f8920.tar.gz |
Update Gradle to 7.2.0 and Android Gradle Plugin to 7.0.2
The latest build-tools 31.0.0 requires AGP version 7.0+, and that
requires Gradle version 7.0+, so use the latest stable release for both.
[1] https://developer.android.com/studio/releases/gradle-plugin?
buildsystem=ndk-build#updating-gradle
Fixes: QTBUG-97002
Change-Id: I8ff26819bdf1a00f484ecc194c4d4e7bca2b598a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit 5ea712987be3bed4c15e486d96851b46f466e944)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/3rdparty/gradle/gradle.properties')
-rw-r--r-- | src/3rdparty/gradle/gradle.properties | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/3rdparty/gradle/gradle.properties b/src/3rdparty/gradle/gradle.properties index fded106b17..263d70238a 100644 --- a/src/3rdparty/gradle/gradle.properties +++ b/src/3rdparty/gradle/gradle.properties @@ -3,7 +3,10 @@ # 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=-Xmx2048m +org.gradle.jvmargs=-Xmx2500m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 + +# Enable building projects in parallel +org.gradle.parallel=true # Gradle caching allows reusing the build artifacts from a previous # build with the same inputs. However, over time, the cache size will |