-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (55 loc) · 1.02 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
project.version = 1.0
apply plugin: "java"
sourceSets {
main {
java {
srcDirs "src"
exclude "**/_*"
}
resources {
srcDirs "src"
exclude "**/_*"
exclude "**/*.pas"
exclude "**/*.java"
exclude "**/*.class"
}
}
test {
java {
srcDirs "src"
exclude "**/*Benchmark.java"
}
resources {
srcDirs "src"
exclude "**/*.java"
exclude "**/*.class"
}
}
benchmark {
java {
srcDirs "src"
}
resources {
srcDirs "src"
}
compileClasspath += sourceSets.test.runtimeClasspath
}
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile "org.projectlombok:lombok:1.16.4"
compile "com.google.guava:guava:18.0"
compile "com.google.code.findbugs:jsr305:1.3.9"
compile "org.slf4j:slf4j-api:1.7.+"
testCompile "junit:junit:3.8.+"
benchmarkCompile "com.google.caliper:caliper:1.0-beta-2"
benchmarkCompile "junit:junit:3.8.+"
}
task benchmark(type:JavaExec) {
dependsOn compileJava
classpath = sourceSets.benchmark.runtimeClasspath
main = "de.grajcar.fmt._FmtBenchmark"
}