JAL-3456 Some task improvements for use in Eclipse as IDE
[jalview.git] / build.gradle
index 6a3c1ca..795d0d2 100644 (file)
@@ -298,7 +298,7 @@ eclipse {
         HashMap<String, Boolean> addedSrcPath = new HashMap<>();
         cp.entries.each { entry ->
           if (entry.kind == 'src') {
-            if (addedSrcPath.getAt(entry.path) || !(entry.path == "src" || entry.path == "test")) {
+            if (addedSrcPath.getAt(entry.path) || !(entry.path == sourceDir || entry.path == "test")) {
               removeTheseToo += entry
             } else {
               addedSrcPath.putAt(entry.path, true)
@@ -816,7 +816,7 @@ jalviewjsTranspile.mustRunAfter jalviewjsCopySiteResources
 
 task jalviewjsPrepareSite {
   group "JalviewJS"
-  description "Prepares the website folder"
+  description "Prepares the website folder including unzipping files and copying resources"
   dependsOn jalviewjsSitePath
   dependsOn jalviewjsUnzipFiles
   dependsOn jalviewjsCopyResources