-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
38 lines (34 loc) · 989 Bytes
/
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
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = 'Main'
buildscript {
ext.kotlin_version = '1.2.30'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8"
implementation "com.google.guava:guava:21.0"
testImplementation "junit:junit:4.12"
compile group: 'io.reactivex.rxjava2', name: 'rxkotlin', version: '2.0.0'
compile "com.sparkjava:spark-kotlin:1.0.0-alpha"
compile group: 'com.sparkjava', name: 'spark-template-freemarker', version: '1.0'
compile 'com.sparkjava:spark-template-jade:2.3'
}
compileKotlin {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
kotlinOptions {
jvmTarget = "1.8"
apiVersion = "1.1"
languageVersion = "1.1"
}
}