-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (49 loc) · 1.7 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
56
buildscript {
ext {
kotlin_version = "1.3.0-rc-190"
ktor_version = "1.0.0-beta-1"
serialization_version = "0.8.3-rc13"
}
repositories {
maven { url "http://kotlin.bintray.com/kotlin-eap" }
maven { url "http://kotlin.bintray.com/kotlin-dev" }
maven { url "https://kotlin.bintray.com/kotlinx" }
maven { url 'https://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
maven { url 'https://dl.bintray.com/kotlin/ktor' }
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
}
}
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.0-rc-190'
}
apply plugin: 'kotlinx-serialization'
group 'com.bulwinkel'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
maven { url "http://kotlin.bintray.com/kotlin-eap" }
maven { url "http://kotlin.bintray.com/kotlin-dev" }
maven { url "https://kotlin.bintray.com/kotlinx" }
maven { url 'https://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
maven { url 'https://dl.bintray.com/kotlin/ktor' }
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlin_version}"
compile "io.ktor:ktor-client:${ktor_version}"
compile "io.ktor:ktor-client-okhttp:${ktor_version}"
compile "io.ktor:ktor-client-json:$ktor_version"
compile "io.ktor:ktor-client-json-jvm:$ktor_version"
compile "org.jetbrains.kotlinx:kotlinx-serialization-runtime:$serialization_version"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}