-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
55 lines (44 loc) · 1.23 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
48
49
50
51
52
53
54
55
group 'fomalhaut.io'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.1.1'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
repositories {
jcenter()
mavenCentral()
maven { url "http://dl.bintray.com/kotlin/ktor" }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
// compile 'org.jetbrains.ktor:jetty-http-client:0.3.1'
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.14'
compile "org.jetbrains.ktor:ktor-netty:0.3.1"
compile "org.jetbrains.ktor:ktor-jetty:0.3.1"
compile "org.jetbrains.ktor:ktor-locations:0.3.1"
compile "org.tinylog:slf4j-binding:1.2"
// compile 'org.jetbrains.ktor:netty-http-client:0.3.1'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
kotlin {
experimental {
coroutines "enable"
}
}
compileKotlin {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
kotlinOptions {
jvmTarget = "1.8"
apiVersion = "1.1.1"
languageVersion = "1.1.1"
}
}