[reactive-streams] 02/02: Build with gradle-debian-helper

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Oct 13 22:50:59 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository reactive-streams.

commit 302fb03efd42f8ae336c3cc307b6248d1bbe3604
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Oct 14 00:49:49 2015 +0200

    Build with gradle-debian-helper
---
 debian/changelog | 2 +-
 debian/control   | 2 +-
 debian/rules     | 8 +-------
 3 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a1bb075..0aafca8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
 reactive-streams (1.0.0-2) UNRELEASED; urgency=medium
 
+  * Build with gradle-debian-helper
   * Removed 01-disable-modules.patch
-  * Simplified debian/rules
 
  -- Emmanuel Bourg <ebourg at apache.org>  Tue, 13 Oct 2015 22:26:36 +0200
 
diff --git a/debian/control b/debian/control
index 7746a6f..0279ee6 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Emmanuel Bourg <ebourg at apache.org>
-Build-Depends: debhelper (>= 9), default-jdk, maven-repo-helper, gradle
+Build-Depends: debhelper (>= 9), default-jdk, maven-repo-helper, gradle-debian-helper
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-java/reactive-streams.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/reactive-streams.git
diff --git a/debian/rules b/debian/rules
index b36cec0..ace6055 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,13 +6,7 @@ export JAVA_HOME := /usr/lib/jvm/default-java
 	dh $@ --with maven_repo_helper
 
 override_dh_auto_build:
-	dh_auto_build
-	gradle --offline --stacktrace --refresh-dependencies --gradle-user-home .gradle :reactive-streams:jar
-
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -Rf build .gradle buildSrc/.gradle/ buildSrc/build/
-	rm -Rf api/build
+	dh_auto_build -- :reactive-streams:jar
 
 get-orig-source:
 	uscan --download-current-version --rename --force-download

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



More information about the pkg-java-commits mailing list