ext {
jalviewDirAbsolutePath = file(jalviewDir).getAbsolutePath()
jalviewDirRelativePath = jalviewDir
+ date = new Date()
getdownChannelName = CHANNEL.toLowerCase()
// default to "default". Currently only has different cosmetics for "develop", "release", "default"
// format is a string like date.format("dd MMMM yyyy")
def getDate(format) {
- def date = new Date()
return date.format(format)
}
throw new GradleException("Required input file '${installersSha256.getPath()}' doesn't exist.")
return null;
}
- def hash = [:]
+ def hash = ["channel":getdownChannelName,"date":getDate("yyyy-MM-dd HH:mm:ss")]
def idHash = [:]
installersOutputTxt.readLines().each { def line ->
if (line.startsWith("#")) {
return installersJsonFile.write(new JsonBuilder(hash).toPrettyString())
}
+
+/*
+ALSO COMPILE AND ADD IN TO THE JSON FILE INFO FOR EXECUTABLE JAR, VERSION JVL FILE, SOURCE TAR FILE
+*/
+
+
+
+
+
+
task makeInstallersJsonFile {
dependsOn installerFiles