forked from ktorio/ktor-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (40 loc) · 1.32 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = "io.ktor.server.netty.DevelopmentEngine"
sourceSets {
main.kotlin.srcDirs = [ 'src' ]
test.kotlin.srcDirs = [ 'test' ]
main.resources.srcDirs = [ 'resources' ]
}
repositories {
jcenter()
maven { url "https://dl.bintray.com/kotlin/ktor" }
maven { url "https://dl.bintray.com/kotlin/exposed" }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "io.ktor:ktor-server-netty:$ktor_version"
compile "io.ktor:ktor-freemarker:$ktor_version"
compile "io.ktor:ktor-locations:$ktor_version"
compile "ch.qos.logback:logback-classic:$logback_version"
compile "com.h2database:h2:1.4.191"
compile "com.mchange:c3p0:0.9.5.2"
compile("org.jetbrains.exposed:exposed:0.3.2") {
exclude(module: 'log4j')
exclude(module: 'slf4j-log4j12')
exclude(module: 'kotlin-stdlib')
}
compile "joda-time:joda-time:2.9.2"
compile "org.freemarker:freemarker:2.3.23"
compile "org.ehcache:ehcache:3.0.0.m4"
testCompile "io.ktor:ktor-server-test-host:$ktor_version"
testCompile "io.mockk:mockk:$mockk_version"
}