Skip to content

Commit

Permalink
Create minimal structure and files needed for 2.5 hello world
Browse files Browse the repository at this point in the history
  • Loading branch information
joostheijkoop committed Jan 24, 2020
1 parent 44a4551 commit d44fe46
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/controllers/Application.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package controllers

import javax.inject.Singleton
import play.api.mvc.{ Action, Controller }

@Singleton
class Application extends Controller {
def hello = Action(Ok("Hello"))
}
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
scalaVersion := "2.11.12"

enablePlugins(PlayScala)
Empty file added conf/application.conf
Empty file.
1 change: 1 addition & 0 deletions conf/routes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GET / controllers.Application.hello()
1 change: 1 addition & 0 deletions project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=0.13.18
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.19")

0 comments on commit d44fe46

Please sign in to comment.