From: Ben Soares Date: Wed, 30 Mar 2022 18:22:22 +0000 (+0100) Subject: JAL-3847 Add some dependencies that gradle 7 mildly complains about X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=082e1cf48b2af3f53e64d0074fa7efe718a0ef5e;p=jalview.git JAL-3847 Add some dependencies that gradle 7 mildly complains about --- diff --git a/build.gradle b/build.gradle index b4636bc..4cc8a53 100644 --- a/build.gradle +++ b/build.gradle @@ -1257,7 +1257,7 @@ task copyChannelResources(type: Copy) { } task createBuildProperties(type: WriteProperties) { - dependsOn copyResources + dependsOn copyChannelResources group = "build" description = "Create the ${buildProperties} file" @@ -1311,7 +1311,7 @@ task prepare { dependsOn buildIndices } - +processResources.dependsOn prepare compileJava.dependsOn prepare run.dependsOn compileJava //run.dependsOn prepare @@ -1360,13 +1360,15 @@ test { task compileLinkCheck(type: JavaCompile) { + dependsOn convertMdFiles + dependsOn copyChannelResources options.fork = true classpath = files("${jalviewDir}/${utils_dir}") destinationDir = file("${jalviewDir}/${utils_dir}") source = fileTree(dir: "${jalviewDir}/${utils_dir}", include: ["HelpLinksChecker.java", "BufferedLineReader.java"]) inputs.file("${jalviewDir}/${utils_dir}/HelpLinksChecker.java") - inputs.file("${jalviewDir}/${utils_dir}/HelpLinksChecker.java") + inputs.file("${jalviewDir}/${utils_dir}/BufferedLineReader.java") outputs.file("${jalviewDir}/${utils_dir}/HelpLinksChecker.class") outputs.file("${jalviewDir}/${utils_dir}/BufferedLineReader.class") }