forked from Litemn/2018-highload-kv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
52 lines (38 loc) · 1.03 KB
/
build.gradle.kts
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
// See https://gradle.org and https://github.com/gradle/kotlin-dsl
// Apply the java plugin to add support for Java
plugins {
java
application
}
repositories {
jcenter()
}
dependencies {
// Our beloved one-nio
compile("ru.odnoklassniki:one-nio:1.0.2")
// Annotations for better code documentation
compile("com.intellij:annotations:12.0")
// JUnit 5
testImplementation("org.junit.jupiter:junit-jupiter-api:5.3.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.3.1")
// Guava for tests
testCompile("com.google.guava:guava:23.1-jre")
//MapDB
compile("org.mapdb:mapdb:3.0.5")
//SLF4J
compile("org.slf4j:slf4j-simple:1.6.1");
//lombok
compileOnly("org.projectlombok:lombok:1.18.4")
}
tasks {
"test"(Test::class) {
maxHeapSize = "128m"
useJUnitPlatform()
}
}
application {
// Define the main class for the application
mainClassName = "ru.mail.polis.Cluster"
// And limit Xmx
applicationDefaultJvmArgs = listOf("-Xmx128m")
}