-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (39 loc) · 1.04 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
group 'dana'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.1.3-2'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
repositories {
jcenter()
mavenCentral()
maven { url "http://dl.bintray.com/kotlin/ktor" }
maven { url "http://dl.bintray.com/kotlin/exposed" }
}
dependencies {
def kotlin_ktor_version = "0.3.2"
def kotlin_exposed_verison = "0.8"
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
compile "org.jetbrains.ktor:ktor-core:$kotlin_ktor_version"
compile "org.jetbrains.ktor:ktor-netty:$kotlin_ktor_version"
compile "org.jetbrains.exposed:exposed:$kotlin_exposed_verison"
compile "org.slf4j:slf4j-log4j12:1.7.5"
compile "com.h2database:h2:[1.4.191,1.5)"
compile 'com.squareup.moshi:moshi:1.5.0'
}
kotlin {
experimental {
coroutines "enable"
}
}
compileKotlin {
kotlinOptions{
jvmTarget = "1.8"
}
}