forked from JetBrains/xodus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
34 lines (27 loc) · 866 Bytes
/
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
apply plugin:'application'
mainClassName = 'org.openjdk.jmh.Main'
sourceCompatibility = 1.8
dependencies {
testCompile project(':benchmarks')
testCompile 'org.openjdk.jmh:jmh-core:1.12'
testCompile 'org.openjdk.jmh:jmh-generator-annprocess:1.12'
testCompile group: 'com.sleepycat', name: 'je', version: '5.0.73'
testCompile group: 'org.mapdb', name: 'mapdb', version: '1.0.6'
testCompile group: 'net.openhft', name: 'chronicle-map', version: '3.8.0'
}
task testBenchmarksJMH(type:JavaExec) {
jvmArgs = ['-Xmx1g', '-Xms1g']
group 'Application'
description 'Execute the benchmark timing of this project'
main 'org.openjdk.jmh.Main'
classpath = sourceSets.test.runtimeClasspath
}
jar {
from project.sourceSets.test.output
}
sourceJar {
from project.sourceSets.test.java
}
uploadArchives {
enabled = false
}