filez
This commit is contained in:
@ -6,7 +6,7 @@ dependencies {
|
||||
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||
|
||||
implementation(projects.lib)
|
||||
implementation(projects.kompendium)
|
||||
|
||||
implementation(libs.bundles.ktor)
|
||||
implementation(libs.bundles.logging)
|
||||
|
@ -8,6 +8,7 @@ import io.ktor.routing.route
|
||||
import io.ktor.routing.routing
|
||||
import io.ktor.server.engine.embeddedServer
|
||||
import io.ktor.server.netty.Netty
|
||||
import kompendium.Library
|
||||
|
||||
fun main() {
|
||||
embeddedServer(
|
||||
@ -21,7 +22,7 @@ fun Application.mainModule() {
|
||||
routing {
|
||||
route("/") {
|
||||
get {
|
||||
call.respondText("hi")
|
||||
call.respondText(Library().someLibraryMethod())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user