From 615b92008a7e6673bc74ec6e971a6bca5f5c81f6 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Tue, 15 Sep 2020 19:55:35 +0300 Subject: 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 --- src/android/templates/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/android/templates') 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 } -- cgit v1.2.3