-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.gradle.kts
55 lines (45 loc) · 1.37 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
application
kotlin("jvm") version kotlinVersion
}
tasks.withType<KotlinCompile>() {
kotlinOptions {
jvmTarget = "18"
}
}
group = "realworld"
version = "0.0.1"
application {
mainClass.set("io.ktor.server.netty.EngineMain")
}
kotlin.sourceSets["main"].kotlin.srcDirs("src")
kotlin.sourceSets["test"].kotlin.srcDirs("test")
sourceSets["main"].resources.srcDirs("resources")
sourceSets["test"].resources.srcDirs("testresources")
repositories {
mavenCentral()
}
dependencies {
implementation(Deps.ktorServerCore)
implementation(Deps.ktorServerNetty)
implementation(Deps.ktorAuth)
implementation(Deps.ktorAuthJwt)
implementation(Deps.ktorContentNegotiation)
implementation(Deps.ktorJackson)
implementation(Deps.ktorDefaultHeaders)
implementation(Deps.ktorCors)
implementation(Deps.ktorCallLogging)
implementation(Deps.ktorStatusPages)
implementation(Deps.logback)
implementation(Deps.h2Database)
implementation(Deps.exposedCore)
implementation(Deps.exposedDao)
implementation(Deps.exposedJdbc)
implementation(Deps.exposedJavaTime)
implementation(Deps.hikari)
implementation(Deps.koin)
testImplementation(Deps.kotlinTests)
testImplementation(Deps.ktorTests)
testImplementation(Deps.ktorClientContentNegotiation)
}