-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
36 lines (30 loc) · 854 Bytes
/
build.gradle
File metadata and controls
36 lines (30 loc) · 854 Bytes
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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.10'
id 'application'
}
group 'org.repl.problemsolvingpractice'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven {
url 'https://dl.bintray.com/algs4/maven/'
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
compile group: 'edu.princeton.cs', name: 'algs4', version: '1.0.4'
implementation 'org.apache.commons:commons-lang3:3.11'
implementation 'com.google.guava:guava:29.0-jre'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
application {
mainClassName = (project.hasProperty("mainClass"))? project.properties.get("mainClass").toString() : "Foo"
}