use Java 7 #32

This commit is contained in:
Enrique Zamudio
2014-11-28 12:07:43 -06:00
parent a7561ce42b
commit 657b32ab10
+7 -7
View File
@@ -1,10 +1,10 @@
apply plugin:'java'
apply plugin: 'maven'
defaultTasks 'build'
version='1.10.1'
version='1.11.0'
description='Java implementation of the ISO 8583 protocol, focused on making the creation, edition and reading of ISO8583 messages as simple and flexible as possible.'
sourceCompatibility=6
targetCompatibility=6
sourceCompatibility=7
targetCompatibility=7
group='net.sf.j8583'
repositories {
@@ -17,13 +17,13 @@ configurations {
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.6'
compile 'org.slf4j:slf4j-api:1.7.7'
testCompile 'junit:junit:4.11'
testRuntime 'org.slf4j:slf4j-simple:1.7.6'
testRuntime 'org.slf4j:slf4j-simple:1.7.7'
}
tasks.javadoc.options.use=true
tasks.javadoc.options.links=['http://download.oracle.com/javase/6/docs/api/', 'http://slf4j.org/apidocs/' ]
tasks.javadoc.options.links=['http://docs.oracle.com/javase/7/docs/api/', 'http://slf4j.org/apidocs/' ]
task javadocJar(type:Jar, dependsOn:'javadoc') {
from javadoc.destinationDir
@@ -34,7 +34,7 @@ task sourcesJar(type:Jar) {
classifier='sources'
}
tasks.withType(Compile) { Compile compile ->
tasks.withType(AbstractCompile) { AbstractCompile compile ->
compile.options.debug = true
compile.options.compilerArgs = ['-Xlint:all']
}