From cea041703af8acc70745c21d9c70bd316223cca0 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 6 May 2019 22:46:56 -0700 Subject: [PATCH] Change compatibility to 1.8. --- HttpStatus.ipr | 123 ++++++++++++++++++++++++++++++++++++++++++++++++- build.gradle | 12 ++--- 2 files changed, 127 insertions(+), 8 deletions(-) diff --git a/HttpStatus.ipr b/HttpStatus.ipr index c0b2dc1..3c402e5 100644 --- a/HttpStatus.ipr +++ b/HttpStatus.ipr @@ -187,6 +187,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -225,7 +346,7 @@ - + diff --git a/build.gradle b/build.gradle index 0e012d8..8aaceac 100644 --- a/build.gradle +++ b/build.gradle @@ -36,8 +36,8 @@ def pkgLabels = ['jsp', 'tag library', 'http', 'status code', 'java'] group = 'net.thauvin.erik.httpstatus' mainClassName = 'net.thauvin.erik.httpstatus.Reasons' -sourceCompatibility = 1.7 -targetCompatibility = 1.7 +sourceCompatibility = 1.8 +targetCompatibility = 1.8 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' repositories { @@ -60,13 +60,11 @@ dependencies { javadoc { title = mavenDescription + ' ' + version + options.source = 8 options.tags = ['created'] options.author = true - options.links('https://docs.oracle.com/javaee/7/api/', 'https://docs.oracle.com/javase/8/docs/api/') - //options.addStringOption('sourcepath', project.hasProperty('jdkSrc') ? jdkSrc : "$System.env.JAVA_HOME/src.zip") - if (JavaVersion.current().isJava8Compatible()) { - options.addStringOption('Xdoclint:none', '-quiet') - } + options.links('https://docs.oracle.com/javase/8/docs/api/') + options.addStringOption('Xdoclint:none', '-quiet') } compileJava {