[gradle-propdeps-plugin] 01/05: Build with gradle-debian-helper
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu May 19 08:13:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository gradle-propdeps-plugin.
commit 8b31c5d6aa4c2d1c9646a610d8a265a4c21527ee
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu May 19 10:08:56 2016 +0200
Build with gradle-debian-helper
---
debian/changelog | 6 ++++++
debian/control | 2 +-
debian/gradle-propdeps-plugin.poms | 1 +
debian/rules | 20 ++------------------
4 files changed, 10 insertions(+), 19 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2eb9648..585c330 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gradle-propdeps-plugin (0.0.7-3) UNRELEASED; urgency=medium
+
+ * Build with gradle-debian-helper
+
+ -- Emmanuel Bourg <ebourg at apache.org> Fri, 16 Oct 2015 12:22:25 +0200
+
gradle-propdeps-plugin (0.0.7-2) unstable; urgency=medium
* Fixed a build failure caused by the transition to Groovy 2
diff --git a/debian/control b/debian/control
index 5197901..906a671 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), gradle, groovy2, default-jdk, maven-repo-helper
+Build-Depends: debhelper (>= 9), gradle-debian-helper, groovy2, default-jdk, maven-repo-helper
Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-java/gradle-propdeps-plugin.git
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/gradle-propdeps-plugin.git
diff --git a/debian/gradle-propdeps-plugin.poms b/debian/gradle-propdeps-plugin.poms
new file mode 100644
index 0000000..d2653e8
--- /dev/null
+++ b/debian/gradle-propdeps-plugin.poms
@@ -0,0 +1 @@
+debian/pom.xml --has-package-version --java-lib --artifact=propdeps-plugin/build/libs/propdeps-plugin-*.jar
diff --git a/debian/rules b/debian/rules
index 83301ae..58a4747 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,25 +1,9 @@
#!/usr/bin/make -f
-JAVA_HOME := /usr/lib/jvm/default-java
-VERSION = $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
+export JAVA_HOME := /usr/lib/jvm/default-java
%:
- dh $@
-
-override_dh_auto_build:
- dh_auto_build
- gradle --offline --stacktrace --refresh-dependencies --gradle-user-home .gradle jar
-
-override_dh_auto_clean:
- dh_auto_clean
- rm -Rf build .gradle buildSrc/.gradle/ buildSrc/build/
- rm -Rf propdeps-plugin/build
- mh_clean
-
-override_dh_auto_install:
- dh_auto_install
- mh_installpom -pgradle-propdeps-plugin --has-package-version -e$(VERSION) debian/pom.xml
- mh_installjar -pgradle-propdeps-plugin -e$(VERSION) debian/pom.xml propdeps-plugin/build/libs/propdeps-plugin-$(VERSION).jar
+ dh $@ --buildsystem=gradle --with maven_repo_helper
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/gradle-propdeps-plugin.git
More information about the pkg-java-commits
mailing list