-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
46 lines (42 loc) · 1.31 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
buildscript {
ext.versions = [
'kotlin': '1.3.10',
'ktor': '1.0.0',
'moshi': '1.8.0',
'okio': '2.1.0'
]
ext.deps = [
'kotlin': [
'stdlib': "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}",
],
'ktor': [
'server': "io.ktor:ktor-server-core:${versions.ktor}",
'netty': "io.ktor:ktor-server-netty:${versions.ktor}",
'test': "io.ktor:ktor-server-test-host:${versions.ktor}",
],
'logback': "ch.qos.logback:logback-classic:1.2.1",
'junit': 'junit:junit:4.12',
'truth': "com.google.truth:truth:0.39",
'moshi': [
'adapters': "com.squareup.moshi:moshi-adapters:${versions.moshi}",
'client': "com.squareup.moshi:moshi:${versions.moshi}",
'kotlin': "com.squareup.moshi:moshi-kotlin:${versions.moshi}",
'codegen': "com.squareup.moshi:moshi-kotlin-codegen:${versions.moshi}"
],
'okio': "com.squareup.okio:okio:${versions.okio}",
]
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.1.0'
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven { url "https://dl.bintray.com/kotlin/ktor" }
}
}