From 657b32ab108c9bfdeb6b1f225328d017c4983cf5 Mon Sep 17 00:00:00 2001 From: Enrique Zamudio Date: Fri, 28 Nov 2014 12:07:43 -0600 Subject: [PATCH] use Java 7 #32 --- build.gradle | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 47a2a36..39f52b7 100644 --- a/build.gradle +++ b/build.gradle @@ -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'] }