Browse Source

Upgrade to Play 2.6.6 (#3018)

Ben McCann 7 years ago
parent
commit
3940150841

+ 2 - 2
frameworks/Java/play2-java/play2-java/README.md

@@ -1,4 +1,4 @@
-#Play Benchmarking Test
+# Play Benchmarking Test
 
 This is the Play portion of a [benchmarking test suite](../) comparing a variety of web development platforms.
 
@@ -10,7 +10,7 @@ This is the Play portion of a [benchmarking test suite](../) comparing a variety
 The tests were run with:
 
 * Java 8
-* [Play 2.5.14](http://http://www.playframework.com/)
+* [Play 2.6.6](http://http://www.playframework.com/)
 
 ## Test URLs
 ### JSON Encoding Test

+ 5 - 4
frameworks/Java/play2-java/play2-java/build.sbt

@@ -1,9 +1,10 @@
 name := "play2-java"
-
 version := "1.0-SNAPSHOT"
+scalaVersion := "2.12.4"
 
-lazy val root = (project in file(".")).enablePlugins(PlayJava)
+libraryDependencies += guice
 
-scalaVersion := "2.11.7"
+routesGenerator := InjectedRoutesGenerator
+
+lazy val root = (project in file(".")).enablePlugins(PlayJava)
 
-routesGenerator := InjectedRoutesGenerator

+ 4 - 1
frameworks/Java/play2-java/play2-java/conf/application.conf

@@ -5,8 +5,11 @@
 # ~~~~~
 # The secret key is used to secure cryptographics functions.
 # If you deploy your application to several instances be sure to use the same key!
-play.crypto.secret="RItx1I:80?W@]8GAtPDuF8Ydd3mXM85p/<7og]Q;uBOdijQAauRDgu73B6`wQP59"
+play.http.secret.key="RItx1I:80?W@]8GAtPDuF8Ydd3mXM85p/<7og]Q;uBOdijQAauRDgu73B6`wQP59"
 
 # The application languages
 # ~~~~~
 application.langs="en"
+
+# Disable default filters
+play.filters.enabled=[]

+ 1 - 1
frameworks/Java/play2-java/play2-java/project/plugins.sbt

@@ -1 +1 @@
-addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.14")
+addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.6.6")