forked from Rudge/kotlin-javalin-realworld-example-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
67 lines (59 loc) · 1.9 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
57
58
59
60
61
62
63
64
65
66
67
group 'io.realworld'
version '1.0-SNAPSHOT'
ext {
javalin_version = "2.6.0"
jackson_version = "2.9.7"
slf4j_version = "1.7.25"
kraftverk_version = "0.9.16"
junit_version = "4.12"
unirest_version = "1.4.9"
auth0_jwt_version = "3.4.1"
hikaricp_version = "3.3.0"
h2_version = "1.4.197"
exposed_version = "0.11.1"
slugify_version = "2.1.+"
swagger_version = "3.17.6"
}
buildscript {
ext.kotlin_version = "1.3.+"
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = "io.realworld.app.AppKt"
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "io.javalin:javalin:$javalin_version"
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
compile "com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version"
compile "org.slf4j:slf4j-simple:$slf4j_version"
compile "io.kraftverk:kraftverk-core:$kraftverk_version"
compile "com.auth0:java-jwt:$auth0_jwt_version"
compile "com.zaxxer:HikariCP:$hikaricp_version"
compile "com.h2database:h2:$h2_version"
compile "org.jetbrains.exposed:exposed:$exposed_version"
compile "com.github.slugify:slugify:$slugify_version"
compile "org.webjars:swagger-ui:$swagger_version"
testCompile "io.mockk:mockk:1.9.3"
testCompile "com.mashape.unirest:unirest-java:$unirest_version"
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.6.1'
test.useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}