-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathbuild.gradle.kts
44 lines (35 loc) · 895 Bytes
/
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
// Apply the java plugin to add support for Java
plugins {
java
application
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
repositories {
jcenter()
}
dependencies {
// Guava primitives
compile("com.google.guava:guava:27.0.1-jre")
// Annotation
implementation ("org.jetbrains:annotations:16.0.3")
// JUnit Jupiter test framework
testCompile("org.junit.jupiter:junit-jupiter-api:5.4.0")
testRuntime("org.junit.jupiter:junit-jupiter-engine:5.4.0")
testCompile("org.apache.commons:commons-lang3:3.11")
}
val run by tasks.getting(JavaExec::class) {
standardInput = System.`in`
}
tasks {
test {
maxHeapSize = "128m"
useJUnitPlatform()
}
}
application {
// Define the main class for the application
mainClassName = "ru.mail.polis.ads.SolveTemplate"
}