Better gradle option.

Enable `--no-daemon` : Using the daemon make gradle keep "configuration"
(like plugin path). If gradle installation path change, it will break
kiwix-android build.

Enable `--build-cache` : This is not the case by default :/
This should greatly improve compilation speed.
This commit is contained in:
Matthieu Gautier 2018-06-06 18:08:35 +02:00
parent 369b805e59
commit daefadecc9
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ class MesonBuilder(Builder):
class GradleBuilder(Builder):
gradle_target = "build"
gradle_option = "-i"
gradle_option = "-i --no-daemon --build-cache"
def build(self):
self.command('configure', self._configure)