Skip to content

Commit

Permalink
Play 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Oct 7, 2023
1 parent b475e01 commit 2f4030b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/g8/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "$scala_version$"

libraryDependencies += guice
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "6.0.0-RC2" % Test
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "7.0.0-M1" % Test

// Adds additional packages into Twirl
//TwirlKeys.templateImports += "$organization$.controllers._"
Expand Down
4 changes: 2 additions & 2 deletions src/main/g8/conf/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<file>${application.home:-.}/logs/application.log</file>
<encoder class="PatternLayoutEncoder">
<charset>UTF-8</charset>
<pattern>%d{yyyy-MM-dd HH:mm:ss} %highlight(%-5level) %cyan(%logger{36}) %magenta(%X{akkaSource}) %msg%n</pattern>
<pattern>%d{yyyy-MM-dd HH:mm:ss} %highlight(%-5level) %cyan(%logger{36}) %magenta(%X{pekkoSource}) %msg%n</pattern>
</encoder>
</appender>

Expand All @@ -27,7 +27,7 @@
<!-- <withJansi>true</withJansi> -->
<encoder class="PatternLayoutEncoder">
<charset>UTF-8</charset>
<pattern>%d{yyyy-MM-dd HH:mm:ss} %highlight(%-5level) %cyan(%logger{36}) %magenta(%X{akkaSource}) %msg%n</pattern>
<pattern>%d{yyyy-MM-dd HH:mm:ss} %highlight(%-5level) %cyan(%logger{36}) %magenta(%X{pekkoSource}) %msg%n</pattern>
</encoder>
</appender>

Expand Down
2 changes: 1 addition & 1 deletion src/main/g8/default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ verbatim=*.css *.js *.png logback.xml

# We use `play-exceptions` artifact as undependend of Scala version
# just to find the latest version of Play in Maven Central
play_version = maven(com.typesafe.play, play-exceptions)
play_version = maven(org.playframework, play-exceptions)
scala_version = maven(org.scala-lang, scala-library, stable)
# We use `giter8_2.13` to find the latest version of sbt-giter8-scaffold_2.12_1.0
sbt_giter8_scaffold_version = maven(org.foundweekends.giter8, giter8_2.13)
2 changes: 1 addition & 1 deletion src/main/g8/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "$play_version$")
addSbtPlugin("org.playframework" % "sbt-plugin" % "$play_version$")
addSbtPlugin("org.foundweekends.giter8" % "sbt-giter8-scaffold" % "$sbt_giter8_scaffold_version$")

0 comments on commit 2f4030b

Please sign in to comment.