JAL-3847 Add some dependencies that gradle 7 mildly complains about improvement/JAL-3847_add_dependencies_reported_by_gradle_7
authorBen Soares <b.soares@dundee.ac.uk>
Wed, 30 Mar 2022 18:22:22 +0000 (19:22 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Wed, 30 Mar 2022 18:22:22 +0000 (19:22 +0100)
build.gradle

index b4636bc..4cc8a53 100644 (file)
@@ -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")
 }