Skip to content

Commit

Permalink
Adding application plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
selvakn committed Nov 28, 2016
1 parent 05c840b commit e8de61b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ buildscript {

apply plugin: 'kotlin'

apply plugin: 'application'

mainClassName = "ApplicationKt"


repositories {
mavenCentral()
}
Expand Down
1 change: 0 additions & 1 deletion src/main/kotlin/Application.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ fun main(args: Array<String>) {
app.delete("/").json(handler { store.deleteAll() })

app.options("/*").json(handler { })

}

private fun baseUrl(request: Req): String {
Expand Down

0 comments on commit e8de61b

Please sign in to comment.