forked from jankotek/mapdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
74 lines (54 loc) · 1.6 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
buildscript {
//TODO wildcard for dep versions
ext.kotlin_version = '1.2.50'
ext.junit_version = '5.2.0-M1'
ext.ec_version = '9.1.0'
ext.guava_version = '20.0'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "org.jetbrains.dokka" version "0.9.16"
}
dokka{
jdkVersion = 8
}
apply plugin: "kotlin"
compileKotlin {
kotlinOptions {
jvmTarget = '1.8'
}
}
sourceSets {
main.kotlin.srcDirs += 'src/main/java'
main.java.srcDirs += 'src/main/java'
test.kotlin.srcDirs += 'src/test/java'
test.java.srcDirs += 'src/test/java'
main.kotlin.srcDirs += 'srcGen/main/java'
main.java.srcDirs += 'srcGen/main/java'
test.kotlin.srcDirs += 'srcGen/test/java'
test.java.srcDirs += 'srcGen/test/java'
}
repositories {
mavenCentral()
}
test{
maxParallelForks = 5
maxHeapSize = '512m'
}
dependencies {
compile "org.eclipse.collections:eclipse-collections-api:$ec_version"
compile "org.eclipse.collections:eclipse-collections:$ec_version"
compile "com.google.guava:guava:$guava_version"
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
//TODO optional dependencies?
compile "com.xenomachina:kotlin-argparser:2.0.7"
testCompile("io.kotlintest:kotlintest-runner-junit5:3.0.4")
testRuntime("org.junit.vintage:junit-vintage-engine:$junit_version")
testCompile("org.junit.jupiter:junit-jupiter-api:$junit_version")
testRuntime("org.junit.jupiter:junit-jupiter-engine:$junit_version")
}