[syncany] 04/20: Build-depend on gradle-debian-helper instead of gradle.

Markus Koschany apo-guest at moszumanska.debian.org
Sun Sep 25 14:49:18 UTC 2016


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

apo-guest pushed a commit to branch master
in repository syncany.

commit f861771bb4cb3c5284fdf255ece77959d2dd9433
Author: Markus Koschany <apo at debian.org>
Date:   Sun Sep 25 14:45:32 2016 +0200

    Build-depend on gradle-debian-helper instead of gradle.
    
    Simplify debian/rules and let gradle-debian-helper handle the debianization of
    the build system.
---
 debian/control | 2 +-
 debian/rules   | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index a97beb6..ca1e891 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends:
  bash-completion,
  debhelper (>= 10),
  default-jdk,
- gradle (>= 2.5),
+ gradle-debian-helper,
  libbcpkix-java (>= 1.51),
  libbcprov-java (>= 1.51),
  libcommons-codec-java,
diff --git a/debian/rules b/debian/rules
index bfa9435..92c167a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,10 @@
 #!/usr/bin/make -f
-export GRADLE_USER_HOME=$(CURDIR)/.gradlehome
-DEB_GRADLE_OPTS := --stacktrace --offline
 
 %:
 	dh $@ --with bash-completion
 
 override_dh_auto_build:
-	gradle $(DEB_GRADLE_OPTS) installApp
+	dh_auto_build -- installApp
 	sh gradle/debian/makemanpages.sh
 	mkdir debian/man
 	cp $(CURDIR)/build/debian/syncany/debian/man/*.1 debian/man

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



More information about the pkg-java-commits mailing list