[med-svn] [picard-tools] 01/05: Dump java source and target version to 1.8

Vincent Danjean vdanjean at debian.org
Mon Mar 14 22:27:09 UTC 2016


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

vdanjean pushed a commit to branch master
in repository picard-tools.

commit 382b52439f855b3911a85cde07426187d3dfc075
Author: Vincent Danjean <vdanjean at debian.org>
Date:   Mon Mar 14 22:20:33 2016 +0100

    Dump java source and target version to 1.8
    
    * the <> operator support is required (>= 1.7)
    * the lambda expression support is required (>=1.8)
---
 debian/control |  2 +-
 debian/rules   | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index c56c7be..ecfcf62 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders: Charles Plessy <plessy at debian.org>,
 Section: science
 Priority: optional
 Build-Depends: ant,
-               default-jdk,
+               default-jdk (>= 1.8),
                debhelper (>= 9),
                javahelper,
                maven-repo-helper,
diff --git a/debian/rules b/debian/rules
index 7a83c0a..84b8b0a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,17 +15,17 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build -- \
-		-Dant.build.javac.source=1.5 \
-		-Dant.build.javac.target=1.5 \
-		-Djavac.target=1.5 \
+		-Dant.build.javac.source=1.8 \
+		-Dant.build.javac.target=1.8 \
+		-Djavac.target=1.8 \
 		-Ddebug=true \
 		picard-jar javadoc
 
 override_dh_auto_test:
 	dh_auto_build -- \
-		-Dant.build.javac.source=1.5 \
-		-Dant.build.javac.target=1.5 \
-		-Djavac.target=1.5 \
+		-Dant.build.javac.source=1.8 \
+		-Dant.build.javac.target=1.8 \
+		-Djavac.target=1.8 \
 		-Ddebug=true \
 		test
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/picard-tools.git



More information about the debian-med-commit mailing list