https://kotlinlang.org logo
#ktor
Title
# ktor
t

thisen

06/29/2017, 10:19 AM
If I use the following approach, how do I get Gradle to run the project?
Copy code
fun Application.main() {
    install(DefaultHeaders)
    install(Routing) {
        get("/") {
            call.respondText("Hello, World!")
        }
    }
}
g

gildor

06/29/2017, 10:30 AM
thisen: You can add main function and run application