-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
57 lines (45 loc) · 2.17 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
// import org.apache.tools.ant.filters.ReplaceTokens
group 'kic'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'maven'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
compileGroovy {
groovyOptions.configurationScript = file("gradle/config.groovy")
}
dependencies {
compile project(':LPPL')
compile fileTree(dir: 'hierarchical-clustering-java/target', include: ['**/*.jar'])
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.6'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
compile group: 'com.google.guava', name: 'guava', version: '23.0'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'com.joptimizer', name: 'joptimizer', version: '4.0.0'
compile group: 'net.sourceforge.parallelcolt', name: 'parallelcolt', version: '0.10.0' //needed by joptimizer
compile group: 'net.finmath', name: 'finmath-lib', version: '3.1.1'
compile group: 'com.aparapi', name: 'aparapi', version: '1.4.0'
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.12'
compile group: 'org.apache.ivy', name:'ivy', version:'2.2.0'
compile group: 'org.knowm.xchange', name:'xchange-core', version:'4.2.3'
compile group: 'org.knowm.xchange', name:'xchange-kraken', version:'4.2.3'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile "org.spockframework:spock-core:1.1-groovy-2.4"
// optional dependencies for using Spock
testCompile "org.hamcrest:hamcrest-core:1.3" // only necessary if Hamcrest matchers are used
testRuntime "net.bytebuddy:byte-buddy:1.6.5" // allows mocking of classes (in addition to interfaces)
testRuntime "org.objenesis:objenesis:2.5.1" // allows mocking of classes without default constructor (together with CGLIB)
}
task cleanAll(type: Delete, dependsOn: clean) {
delete "$buildDir/scripts/"
}
task copyScriptFiles(type: Copy) {
from 'src/script'
into "$buildDir/"
filter { String line -> line.replace("//@Grab", "@Grab")}
}
install.finalizedBy(copyScriptFiles)