From: Ben Soares Date: Mon, 26 Apr 2021 16:56:19 +0000 (+0100) Subject: JAL-3743 Fixed NullPointerExceptions happening with linkCheck task when gradle >... X-Git-Tag: Release_2_11_1_5~9 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ce1298a9e8aa56d9ffb0371bc29d51b472b67cef;p=jalview.git JAL-3743 Fixed NullPointerExceptions happening with linkCheck task when gradle >= 6.6 --- diff --git a/build.gradle b/build.gradle index cbd65f2..00e3e40 100644 --- a/build.gradle +++ b/build.gradle @@ -1141,13 +1141,12 @@ task linkCheck(type: JavaExec) { args = [ "${classesDir}/${help_dir}", "-nointernet" ] def outFOS = new FileOutputStream(helpLinksCheckerOutFile, false) // false == don't append - def errFOS = outFOS standardOutput = new org.apache.tools.ant.util.TeeOutputStream( outFOS, - standardOutput) + System.out) errorOutput = new org.apache.tools.ant.util.TeeOutputStream( outFOS, - errorOutput) + System.err) inputs.dir("${classesDir}/${help_dir}") outputs.file(helpLinksCheckerOutFile)