mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user