-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
56 lines (45 loc) · 1.38 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.41'
ext.ktor_version = '1.2.3'
ext.exposed_version = '0.16.3'
ext.h2_version = '1.4.196'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = 'com.noorifytech.revolut.Main'
sourceCompatibility = 1.8
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
repositories {
jcenter()
}
test {
useJUnitPlatform()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile "io.ktor:ktor-server-netty:$ktor_version"
compile "io.ktor:ktor-jackson:$ktor_version"
compile "io.ktor:ktor-websockets:$ktor_version"
compile "com.h2database:h2:$h2_version"
compile "org.jetbrains.exposed:exposed:$exposed_version"
compile 'com.zaxxer:HikariCP:3.3.1'
compile "ch.qos.logback:logback-classic:1.2.1"
testCompile "org.assertj:assertj-core:3.11.1"
testCompile "org.mockito:mockito-core:2.28.1"
testCompile "io.rest-assured:rest-assured:4.0.0"
testCompile "org.junit.jupiter:junit-jupiter-api:5.5.1"
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.1'
}