diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2020-09-15 19:55:35 +0300 |
---|---|---|
committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2020-09-17 10:29:16 +0300 |
commit | 615b92008a7e6673bc74ec6e971a6bca5f5c81f6 (patch) | |
tree | 979c259fac6c809330cc4ad9904ba89725dca1a9 /src/android/templates/build.gradle | |
parent | 8d8b271fe9cd838f2975392ca9856ac19803f0b6 (diff) |
Android: remove --no-daemon arg for Gradle
Allow Gradle builds to run using JVM daemon, this will improve the
current build time noticeably for clean builds and hugely for
incremental builds.
This will bring the Gradle build to comparable speed with a normal
Gradle build in Android Studio.
Task-number: QTBUG-86674
Pick-to: 5.15
Change-Id: Icc4267223802e4c9350b48099236650c023f868d
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/android/templates/build.gradle')
-rw-r--r-- | src/android/templates/build.gradle | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/android/templates/build.gradle b/src/android/templates/build.gradle index d5b3b93499..c22cd80781 100644 --- a/src/android/templates/build.gradle +++ b/src/android/templates/build.gradle @@ -51,6 +51,10 @@ android { } } + tasks.withType(JavaCompile) { + options.incremental = true + } + lintOptions { abortOnError false } |