42 lines
1.9 KiB
TOML
42 lines
1.9 KiB
TOML
[versions]
|
|
kotlin = "1.4.32"
|
|
ktor = "1.6.5"
|
|
kotlinx-serialization = "1.2.1"
|
|
jackson-kotlin = "2.12.0"
|
|
slf4j = "1.7.30"
|
|
logback = "1.2.3"
|
|
swagger-ui = "3.47.1"
|
|
|
|
[libraries]
|
|
# API
|
|
ktor-server-core = { group = "io.ktor", name = "ktor-server-core", version.ref = "ktor" }
|
|
ktor-server-netty = { group = "io.ktor", name = "ktor-server-netty", version.ref = "ktor" }
|
|
ktor-jackson = { group = "io.ktor", name = "ktor-jackson", version.ref = "ktor" }
|
|
ktor-serialization = { group = "io.ktor", name = "ktor-serialization", version.ref = "ktor" }
|
|
ktor-html-builder = { group = "io.ktor", name = "ktor-html-builder", version.ref = "ktor" }
|
|
ktor-auth-lib = { group = "io.ktor", name = "ktor-auth", version.ref = "ktor" }
|
|
ktor-auth-jwt = { group = "io.ktor", name = "ktor-auth-jwt", version.ref = "ktor" }
|
|
ktor-webjars = { group = "io.ktor", name = "ktor-webjars", version.ref = "ktor" }
|
|
ktor-locations = { group = "io.ktor", name = "ktor-locations", version.ref = "ktor" }
|
|
|
|
# Serialization
|
|
jackson-module-kotlin = { group = "com.fasterxml.jackson.module", name = "jackson-module-kotlin", version.ref = "jackson-kotlin" }
|
|
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinx-serialization" }
|
|
|
|
|
|
# Logging
|
|
slf4j = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j" }
|
|
logback-classic = { group = "ch.qos.logback", name = "logback-classic", version.ref = "logback" }
|
|
logback-core = { group = "ch.qos.logback", name = "logback-core", version.ref = "logback" }
|
|
|
|
# webjars
|
|
webjars-swagger-ui = { group = "org.webjars", name = "swagger-ui", version.ref = "swagger-ui" }
|
|
|
|
# Testing
|
|
ktor-server-test-host = { group = "io.ktor", name = "ktor-server-test-host", version.ref = "ktor" }
|
|
|
|
[bundles]
|
|
ktor = ["ktor-server-core", "ktor-server-netty", "ktor-html-builder"]
|
|
ktorAuth = ["ktor-auth-lib", "ktor-auth-jwt"]
|
|
logging = ["slf4j", "logback-classic", "logback-core"]
|