aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/io/jamesbarnett/redditlite/RedditLiteApplication.kt
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2020-04-10 13:34:23 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2020-04-10 13:34:23 +0100
commit78400d587ea5367d3424333913ff4f94ca3f1908 (patch)
tree2cf5f5ff8069740b0b7dd00853a4ea8c13d6e05c /src/main/kotlin/io/jamesbarnett/redditlite/RedditLiteApplication.kt
parentd5a608143ad2250d8b35b9e4a488d39faaf5a021 (diff)
downloadreddit-lite-78400d587ea5367d3424333913ff4f94ca3f1908.tar.xz
reddit-lite-78400d587ea5367d3424333913ff4f94ca3f1908.zip
Reimplement in Kotlin
Diffstat (limited to 'src/main/kotlin/io/jamesbarnett/redditlite/RedditLiteApplication.kt')
-rw-r--r--src/main/kotlin/io/jamesbarnett/redditlite/RedditLiteApplication.kt11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/kotlin/io/jamesbarnett/redditlite/RedditLiteApplication.kt b/src/main/kotlin/io/jamesbarnett/redditlite/RedditLiteApplication.kt
new file mode 100644
index 0000000..b6d7f4c
--- /dev/null
+++ b/src/main/kotlin/io/jamesbarnett/redditlite/RedditLiteApplication.kt
@@ -0,0 +1,11 @@
+package io.jamesbarnett.redditlite
+
+import org.springframework.boot.autoconfigure.SpringBootApplication
+import org.springframework.boot.runApplication
+
+@SpringBootApplication
+class RedditLiteApplication
+
+fun main(args: Array<String>) {
+ runApplication<RedditLiteApplication>(*args)
+}