-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle
76 lines (63 loc) · 2.48 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
plugins {
id 'com.github.johnrengelman.shadow' version '5.1.0'
id 'java'
id 'org.openjfx.javafxplugin' version '0.0.7'
}
group 'edu.duke.cs'
version '3.0-BETA'
sourceCompatibility = 11
repositories {
mavenCentral()
}
def autoValueVersion = 1.7
dependencies {
implementation 'org.apache.commons:commons-collections4:4.3'
implementation 'org.apache.commons:commons-math3:3.6.1'
implementation 'org.apache.commons:commons-lang3:3.9'
implementation 'colt:colt:1.2.0'
implementation 'com.joptimizer:joptimizer:3.5.1'
implementation 'commons-io:commons-io:2.5'
implementation 'org.mapdb:mapdb:3.0.5'
implementation 'de.lmu.ifi.dbs.elki:elki:0.7.1'
implementation 'ch.obermuhlner:big-math:2.0.1'
implementation 'org.jogamp.jocl:jocl:2.3.2'
implementation 'org.jogamp.gluegen:gluegen-rt:2.3.2'
implementation 'com.github.haifengl:smile-core:1.5.1'
implementation 'com.github.haifengl:smile-netlib:1.5.1'
implementation 'org.apache.xmlgraphics:batik-svggen:1.9.1'
implementation 'org.apache.xmlgraphics:batik-svg-dom:1.9.1'
implementation 'org.ojalgo:ojalgo:41.0.0'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.9'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.9'
implementation 'com.beust:jcommander:1.72'
implementation 'org.tomlj:tomlj:1.0.0'
compile "com.google.auto.value:auto-value-annotations:${autoValueVersion}"
annotationProcessor "com.google.auto.value:auto-value:${autoValueVersion}"
javafx {
version = "11.0.1"
modules = ['javafx.controls']
}
// JCUDA stuff, see https://github.com/jcuda/jcuda-main/blob/master/USAGE.md#using-jcuda-with-gradle
implementation('org.jcuda:jcuda:0.8.0') {
transitive = false
}
runtime 'org.jogamp.gluegen:gluegen-rt:2.3.2:natives-linux-amd64'
runtime 'org.jogamp.jocl:jocl:2.3.2:natives-linux-amd64'
runtime 'org.jcuda:jcuda-natives:0.8.0:linux-x86_64'
compileOnly 'org.jetbrains:annotations:17.0.0'
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.4.2'
}
test {
useJUnitPlatform()
}
task compileGpu(type:Exec) {
workingDir 'src/main/resources/gpuKernels/cuda'
commandLine './compile.sh'
}
jar {
manifest {
attributes("Main-Class": "edu.duke.cs.osprey.design.Main")
}
}