JAL-3349 Added a prefix for cli args to getdown that get turned into JVM args for...
[jalview.git] / build.gradle
index 165c05e..2effa06 100644 (file)
@@ -595,7 +595,7 @@ task convertBuildingMD(type: Exec) {
   }
 
   doFirst {
-    if (false && pandoc != null && file(pandoc).exists()) {
+    if (pandoc != null && file(pandoc).exists()) {
         commandLine pandoc, '-s', '-o', buildingHTML, '--metadata', 'pagetitle="Building Jalview from Source"', '--toc', '-H', css, buildingMD
     } else {
         println("Cannot find pandoc. Skipping convert building.md to HTML")
@@ -855,7 +855,7 @@ task getdownWebsite() {
        props.put("getdown_txt_multi_java_location", getdown_alt_multi_java_location)
 
     props.put("getdown_txt_appbase", getdown_app_base)
-    props.each{ prop, val ->
+    props.sort().each{ prop, val ->
       if (prop.startsWith("getdown_txt_") && val != null) {
         if (prop.startsWith("getdown_txt_multi_")) {
           def key = prop.substring(18)
@@ -1142,3 +1142,5 @@ clean {
   delete install4jConf
 }
 
+
+