specify compile target as 1.5

This commit is contained in:
Shikhar Bhushan
2010-03-09 00:29:53 +01:00
parent 0ccc5a0e9f
commit 7fbb53439d

View File

@@ -6,14 +6,14 @@ SLF4J_LOG4J = 'org.slf4j:slf4j-log4j12:jar:1.5.10'
LOG4J = 'log4j:log4j:jar:1.2.15'
SSHD = transitive('org.apache.sshd:sshd-core:jar:0.3.0')
JCRAFT = 'com.jcraft:jzlib:jar:1.0.7'
BC = 'org.bouncycastle:bcprov-jdk16:jar:1.45'
BC = 'org.bouncycastle:bcprov-jdk15:jar:1.45'
desc 'SSHv2 library for Java'
define 'sshj', :version=>'0.1a', :group=>'sshj' do
compile.with SLF4J, LOG4J, SLF4J_LOG4J, BC, JCRAFT
compile.with(SLF4J, BC, JCRAFT).using(:target=>'1.5')
test.with SSHD, LOG4J, SLF4J, SLF4J_LOG4J
test.with(SSHD, LOG4J, SLF4J, SLF4J_LOG4J)
package(:jar).exclude('**/examples')
package(:sources).exclude('**/examples')