/
build.gradle
53 lines (43 loc) · 1.54 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
group 'com.wam'
version '0.0.1'
mainClassName = "io.ktor.server.netty.EngineMain"
sourceSets {
main.kotlin.srcDirs = main.java.srcDirs = ['src']
test.kotlin.srcDirs = test.java.srcDirs = ['test']
main.resources.srcDirs = ['resources']
test.resources.srcDirs = ['testresources']
}
repositories {
mavenLocal()
jcenter()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "io.ktor:ktor-server-netty:$ktor_version"
testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.2")
implementation "ch.qos.logback:logback-classic:$logback_version"
implementation "io.ktor:ktor-gson:$ktor_version"
testImplementation "io.ktor:ktor-server-tests:$ktor_version"
testImplementation "io.ktor:ktor-server-test-host:$ktor_version"
implementation "org.jetbrains.exposed:exposed-core:0.21.1"
implementation "org.jetbrains.exposed:exposed-dao:0.21.1"
implementation "org.jetbrains.exposed:exposed-jdbc:0.21.1"
implementation "com.zaxxer:HikariCP:$hikaricp_version"
implementation "com.h2database:h2:$h2database_version"
testImplementation("io.mockk:mockk:1.10.0")
testCompile group: 'org.skyscreamer', name: 'jsonassert', version: '1.5.0'
}
test {
useJUnitPlatform()
}