-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
56 lines (44 loc) · 1.87 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile group: 'io.aeron', name: 'aeron-all', version: '1.40.0'
compile group: 'org.agrona', name: 'agrona', version: '1.17.1'
compile group: 'org.hdrhistogram', name: 'HdrHistogram', version: '2.1.12'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.30'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'org.eclipse.collections', name: 'eclipse-collections-api', version: '10.4.0'
compile group: 'org.eclipse.collections', name: 'eclipse-collections', version: '10.4.0'
compile group: 'com.google.guava', name: 'guava', version: '29.0-jre'
compile group: 'com.sparkjava', name: 'spark-core', version: '2.9.2'
compile group: 'info.picocli', name: 'picocli', version: '4.5.1'
compile group: 'net.openhft', name: 'affinity', version: '3.2.2'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
compile group: 'exchange.core2', name: 'orderbook', version: '0.7.24-SNAPSHOT'
compile group: 'exchange.core2', name: 'test-generator', version: '0.7.9-SNAPSHOT'
testCompile group: 'junit', name: 'junit', version: '4.13.1'
annotationProcessor 'info.picocli:picocli-codegen:4.5.1'
}
compileJava {
options.compilerArgs += ["-Aproject=${project.group}/${project.name}"]
}
jar {
manifest {
attributes "Main-Class": "exchange.core2.cluster.ExchangeCoreCluster"
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
}
//task runClusterNode(type: JavaExec) {
// classpath sourceSets.main.runtimeClasspath
// main = "exchange.core2.cluster.ExchangeCoreCluster"
// args = ["$nodeId", "$nNodes"]
//}