/kotlin-gradle-starter

Primary LanguageKotlinApache License 2.0Apache-2.0

kotlin-gradle-starter

Starter kit for Kotlin, using gradle and spek for testing

quick preview

This project contains a simple Hello World application.

import org.jooby.Jooby.*
import org.jooby.Kooby

class App : Kooby({
    get {
        val name = param("name").value("Kotlin")
        "Hello $name!"
    }
})

fun main(args: Array<String>) {
    run(::App, args)
}

run

./gradlew run

test

./gradlew test

help