[gradle] 01/04: d/rules: Updtae parallel Gradle usage

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Thu Oct 1 15:52:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

seamlik-guest pushed a commit to branch master
in repository gradle.

commit 58b04b80d27a31f14e83c36b0b3d1358e5df24e7
Author: Kai-Chung Yan <seamlikok at gmail.com>
Date:   Thu Oct 1 17:09:00 2015 +0800

    d/rules: Updtae parallel Gradle usage
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 69fcfde..e58ba7c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ gradle (2.7-1) UNRELEASED; urgency=low
   * Update maven_jcommander.diff to jcommander.diff
   * Remove build_init.diff: Obsolete
   * Remove taskOrdering.diff: Obsolete
+  * d/rules: Updtae parallel Gradle usage
 
  -- Kai-Chung Yan <seamlikok at gmail.com>  Wed, 30 Sep 2015 04:37:18 +0800
 
diff --git a/debian/rules b/debian/rules
index 91a40cc..bc3b255 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ GRADLE_FLAGS := --project-prop finalRelease=true --offline --gradle-user-home .g
 # Support for DEB_BUILD_OPTIONS parallel=n
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 	NUMTHREADS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-	GRADLE_FLAGS += --parallel --parallel-threads=$(NUMTHREADS)
+	GRADLE_FLAGS += --parallel --max-workers=$(NUMTHREADS)
 endif
 
 %:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gradle.git



More information about the pkg-java-commits mailing list