Skip to content

Commit

Permalink
tasks/android: don't spawn the gradle daemon for the android build. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
remeh authored Apr 17, 2019
1 parent dabbeb9 commit 6985f35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ def build(ctx, rebuild=False, race=False, build_include=None, build_exclude=None
pwd = os.getcwd()
os.chdir("cmd/agent/android")
if sys.platform == 'win32':
cmd = "gradlew.bat build"
cmd = "gradlew.bat --no-daemon build"
else:
cmd = "./gradlew build"
cmd = "./gradlew --no-daemon build"
ctx.run(cmd)
os.chdir(pwd)
ver = get_version(ctx, include_git=True, git_sha_length=7)
Expand Down

0 comments on commit 6985f35

Please sign in to comment.