From 082e1cf48b2af3f53e64d0074fa7efe718a0ef5e Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Wed, 30 Mar 2022 19:22:22 +0100 Subject: [PATCH] JAL-3847 Add some dependencies that gradle 7 mildly complains about --- build.gradle | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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") } -- 1.7.10.2