From a922be4086e0704a0bf6c1c1e8c2dd1f621a5ba0 Mon Sep 17 00:00:00 2001 From: capstan Date: Tue, 29 Oct 2019 14:30:22 +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 75ebcd806..c2182e558 100644 --- a/build.gradle +++ b/build.gradle @@ -31,8 +31,8 @@ apply(plugin: "net.ltgt.errorprone"); group = "com.github.java-json-tools"; version = "2.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 @@ -68,7 +68,7 @@ dependencies { testCompile(group: "org.easytesting", name: "fest-assert", version: "1.4"); } -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/");