Skip to content

Commit 41a5e9a

Browse files
committed
Use twirl plugin instead of play and update dependency to play 2.3.1
* Use default sbt folder structure * Import play magic by default..
1 parent 221ce58 commit 41a5e9a

18 files changed

Lines changed: 6 additions & 4 deletions

build.sbt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ version := "1.2.1"
44

55
scalaVersion := "2.11.1"
66

7-
lazy val root = (project in file(".")).enablePlugins(PlayScala)
7+
lazy val root = (project in file(".")).enablePlugins(SbtTwirl)
88

99
libraryDependencies ++= Seq(
10-
"com.typesafe.play" %% "play" % "2.3.0"
10+
"com.typesafe.play" %% "play" % "2.3.1"
1111
)
1212

13+
// Automatically import PlayMagic
14+
TwirlKeys . templateImports += "play.api.templates.PlayMagic._"
15+
1316
organization := "com.loicdescotte.coffeebean"

project/plugins.sbt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ logLevel := Level.Warn
44
// The Typesafe repository
55
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
66

7-
// Use the Play sbt plugin for Play projects
8-
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.0")
7+
addSbtPlugin ( "com.typesafe.sbt" % "sbt-twirl" % "1.0.2" )
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)