Updated dependencies, fixed the SIRIUS module
@@ -17,11 +17,11 @@ defaultTasks "runtimeZip"
// Check the OS
project.ext.osSuffix = OperatingSystem.current().getName().replaceAll(" ", "_")
if (OperatingSystem.current().isMacOsX())
- project.ext.osSuffix = "Mac"
+ project.ext.osSuffix = "macOS"
if (OperatingSystem.current().isLinux())
project.ext.osSuffix = "Linux"
if (OperatingSystem.current().isWindows())
- project.ext.osSuffix = "Win"
+ project.ext.osSuffix = "Windows"
println "OS detected as " + project.ext.osSuffix
@@ -154,6 +154,8 @@ configurations.all {
exclude group: "xom", module: "xom"
exclude group: "ch.qos.logback", module: "logback-core"
exclude group: "ch.qos.logback", module: "logback-classic"
+ exclude group: "gurobi", module: "gurobi-linux64"
+ exclude group: "cplex", module: "cplex"
}
@@ -218,13 +220,24 @@ runtime {
options = ["--compress=2", "--vm=server", "--no-header-files", "--no-man-pages"]
modules = ["java.desktop",
"java.logging",
- "java.xml",
+ "java.rmi",
"java.sql",
"java.datatransfer",
- "java.security.sasl",
+ "java.management",
+ "java.xml",
+ "java.xml.crypto",
+ "jdk.xml.dom",
+ "java.naming",
+ "java.transaction.xa",
"java.scripting",
- "jdk.unsupported"
- ]
+ "java.compiler",
+ "jdk.jsobject",
+ "jdk.jfr",
+ "java.security.sasl",
+ "java.security.jgss",
+ "jdk.unsupported",
+ "jdk.unsupported.desktop"]
+
imageDir = file("${buildDir}/${applicationName}-${version}-${osSuffix}")
imageZip = file("${buildDir}/${applicationName}-${version}-${osSuffix}.zip")
}
