-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (47 loc) · 1.56 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
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.2.41'
repositories {
mavenCentral()
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "me.champeau.gradle:jmh-gradle-plugin:0.3.1"
}
}
apply plugin: 'kotlin'
apply plugin: 'me.champeau.gradle.jmh'
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile group: 'org.apache.commons', name: 'commons-collections4', version: '4.1' // BidiMap
compile group: 'commons-io', name: 'commons-io', version: '2.5'
compile group: 'org.apache.lucene', name: 'lucene-core', version: '3.6.0' // OpenBitSet
compile group: 'net.sf.trove4j', name: 'trove4j', version: '3.0.1' // collections of primitive types
compile fileTree(dir: 'lib', include: ['jnisat.jar'])
compile group: 'com.github.oshi', name: 'oshi-core', version: '3.4.4' // for system ram info
compile fileTree(dir: 'lib', include: ['slf4j-simple-1.7.25.jar']) // for system ram info
testCompile group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jmh {
include = 'DirectedGraphBenchmark'
jvmArgs = '-Xmx1024m -Xms1024m'
}
jar {
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
configurations {
jar.archiveName = 'algorithm-synthesis.jar'
}