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:
parent
369b805e59
commit
daefadecc9
|
@ -427,7 +427,7 @@ class MesonBuilder(Builder):
|
||||||
|
|
||||||
class GradleBuilder(Builder):
|
class GradleBuilder(Builder):
|
||||||
gradle_target = "build"
|
gradle_target = "build"
|
||||||
gradle_option = "-i"
|
gradle_option = "-i --no-daemon --build-cache"
|
||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
self.command('configure', self._configure)
|
self.command('configure', self._configure)
|
||||||
|
|
Loading…
Reference in New Issue