-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
39 lines (31 loc) · 1.33 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apply plugin: 'java'
apply plugin: 'application'
repositories {
jcenter()
}
dependencies {
compile 'org.apache.logging.log4j:log4j-api:2.5'
compile 'org.apache.logging.log4j:log4j-core:2.5'
compile 'org.apache.commons:commons-math3:3.6'
compile 'commons-cli:commons-cli:1.3.1'
compile 'org.zeromq:jeromq:0.3.5'
testCompile 'junit:junit:4.12'
testCompile "org.mockito:mockito-core:1.+"
}
//startScripts {
// classpath += files('$APP_HOME/log4j2.xml')
// doLast {
// def windowsScriptFile = file getWindowsScript()
// def unixScriptFile = file getUnixScript()
// windowsScriptFile.text = windowsScriptFile.text.replace('%APP_HOME%\\lib\\log4j2.xml', '%APP_HOME%\\log4j2.xml')
// unixScriptFile.text = unixScriptFile.text.replace('$APP_HOME/lib/log4j2.xml', '$APP_HOME/log4j2.xml')
// }
//}
task upload(type: Exec, dependsOn: distTar) {
def file = project.buildDir.absolutePath + '/distributions/caesar.tar'
commandLine 'python3', 'copy_to_s3.py', 'caesar-hyflow', file
}
//applicationDefaultJvmArgs = ["-ea", "-Djava.util.concurrent.ForkJoinPool.common.parallelism=100"]
applicationDefaultJvmArgs = ["-Xmx4g", "-Xms2g", "-ea", "-XX:+UseG1GC",
"-XX:MaxGCPauseMillis=200", "-XX:InitiatingHeapOccupancyPercent=70"]
mainClassName = "hyflow.main.Main"