From 9214f52f764ed42799c15f582d99e8d90d84e818 Mon Sep 17 00:00:00 2001 From: capstan Date: Tue, 29 Oct 2019 13:18:32 +0100 Subject: [PATCH] Bump to Java 7. See java-json-tools/jackson-coreutils/issues/12. --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index bcb11a6e..fb60765b 100644 --- a/build.gradle +++ b/build.gradle @@ -31,8 +31,8 @@ apply(plugin: "net.ltgt.errorprone"); group = "com.github.java-json-tools"; version = "1.2.12-SNAPSHOT"; -sourceCompatibility = "1.6"; -targetCompatibility = "1.6"; // defaults to sourceCompatibility +sourceCompatibility = JavaVersion.VERSION_1_7; +targetCompatibility = JavaVersion.VERSION_1_7; // defaults to sourceCompatibility /* * Repositories to use @@ -71,7 +71,7 @@ dependencies { testCompile(group: "org.assertj", name: "assertj-core", version: "2.9.1"); } -javadoc.options.links("http://docs.oracle.com/javase/6/docs/api/"); +javadoc.options.links("http://docs.oracle.com/javase/7/docs/api/"); javadoc.options.links("http://www.javadoc.io/doc/com.google.code.findbugs/jsr305/3.0.1/"); javadoc.options.links("http://fasterxml.github.com/jackson-databind/javadoc/2.2.0/"); javadoc.options.links("http://fasterxml.github.com/jackson-core/javadoc/2.2.0/");