File tree Expand file tree Collapse file tree 22 files changed +28
-22
lines changed Expand file tree Collapse file tree 22 files changed +28
-22
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ project/plugins/project/
19
19
.worksheet
20
20
.idea
21
21
! /project /Versions.scala
22
+ ! /project /LibraryVersions.scala
22
23
/project /
23
24
! project /build.properties
24
25
out
Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ lazy val scala_libraries = (project in file("scala-libraries"))
413
413
" com.github.seratch" %% " awscala" % " 0.9.2"
414
414
),
415
415
libraryDependencies ++= Seq (
416
- " org.playframework" %% " play-slick" % " 6.1.1 " ,
416
+ " org.playframework" %% " play-slick" % LibraryVersions .playSlickVersion ,
417
417
" org.postgresql" % " postgresql" % " 42.7.3"
418
418
),
419
419
dependencyOverrides := Seq (
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ scalaVersion := ScalaVersions.scala3Version
10
10
libraryDependencies += guice
11
11
libraryDependencies += " com.h2database" % " h2" % " 1.4.200"
12
12
libraryDependencies += " org.postgresql" % " postgresql" % " 42.2.29"
13
- libraryDependencies += " org.playframework" %% " play-slick" % " 6.1.1 "
14
- libraryDependencies += " org.playframework" %% " play-slick-evolutions" % " 6.1.1 "
15
- libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % " 7.0.1 " % Test
13
+ libraryDependencies += " org.playframework" %% " play-slick" % LibraryVersions .playSlickVersion
14
+ libraryDependencies += " org.playframework" %% " play-slick-evolutions" % LibraryVersions .playSlickVersion
15
+ libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % LibraryVersions .scalatestPlayVersion % Test
16
16
libraryDependencies += " org.scalatestplus" %% " mockito-3-4" % " 3.2.10.0" % Test
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.playframework" % " sbt-plugin" % " 3.0.4 " )
1
+ addSbtPlugin(" org.playframework" % " sbt-plugin" % LibraryVersions .playVersion )
2
2
addSbtPlugin(" org.foundweekends.giter8" % " sbt-giter8-scaffold" % " 0.16.2" )
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.playframework" % " sbt-plugin" % " 3.0.4 " )
1
+ addSbtPlugin(" org.playframework" % " sbt-plugin" % LibraryVersions .playVersion )
2
2
addSbtPlugin(" org.foundweekends.giter8" % " sbt-giter8-scaffold" % " 0.11.0" )
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ scalaVersion := ScalaVersions.scala3Version
10
10
libraryDependencies += guice
11
11
libraryDependencies += caffeine
12
12
libraryDependencies += ws
13
- libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % " 7.0.1 " % Test
13
+ libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % LibraryVersions .scalatestPlayVersion % Test
14
14
libraryDependencies += " org.mockito" % " mockito-core" % " 5.12.0" % Test
15
15
16
16
PlayKeys .devSettings += " play.server.http.port" -> " 9000"
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.playframework" % " sbt-plugin" % " 3.0.4 " )
1
+ addSbtPlugin(" org.playframework" % " sbt-plugin" % LibraryVersions .playVersion )
2
2
addSbtPlugin(" org.foundweekends.giter8" % " sbt-giter8-scaffold" % " 0.11.0" )
3
3
addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.4.0" )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ enablePlugins(PlayScala)
8
8
scalaVersion := ScalaVersions .scala3Version
9
9
10
10
libraryDependencies += guice
11
- libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % " 7.0.1 " % Test
11
+ libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % LibraryVersions .scalatestPlayVersion % Test
12
12
libraryDependencies += " org.scalatestplus" %% " mockito-3-4" % " 3.2.10.0"
13
13
14
14
// Adds additional packages into Twirl
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.playframework" % " sbt-plugin" % " 3.0.4 " )
1
+ addSbtPlugin(" org.playframework" % " sbt-plugin" % LibraryVersions .playVersion )
2
2
addSbtPlugin(" org.foundweekends.giter8" % " sbt-giter8-scaffold" % " 0.11.0" )
3
3
addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.4.0" )
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ enablePlugins(PlayScala)
8
8
scalaVersion := ScalaVersions .scala3Version
9
9
10
10
libraryDependencies += guice
11
- libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % " 7.0.1 " % Test
11
+ libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % LibraryVersions .scalatestPlayVersion % Test
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.playframework" % " sbt-plugin" % " 3.0.4 " )
1
+ addSbtPlugin(" org.playframework" % " sbt-plugin" % LibraryVersions .playVersion )
2
2
addSbtPlugin(" org.foundweekends.giter8" % " sbt-giter8-scaffold" % " 0.11.0" )
Original file line number Diff line number Diff line change @@ -7,6 +7,6 @@ enablePlugins(PlayScala)
7
7
scalaVersion := ScalaVersions .scala3Version
8
8
9
9
libraryDependencies += guice
10
- libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % " 7.0.1 " % Test
10
+ libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % LibraryVersions .scalatestPlayVersion % Test
11
11
libraryDependencies += " com.softwaremill.macwire" %% " macros" % " 2.5.9" % Provided
12
12
libraryDependencies += " com.softwaremill.macwire" %% " util" % " 2.5.9"
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.playframework" % " sbt-plugin" % " 3.0.4 " )
1
+ addSbtPlugin(" org.playframework" % " sbt-plugin" % LibraryVersions .playVersion )
2
2
addSbtPlugin(" org.foundweekends.giter8" % " sbt-giter8-scaffold" % " 0.11.0" )
3
3
addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.4.2" )
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ enablePlugins(PlayScala)
8
8
scalaVersion := ScalaVersions .scala3Version
9
9
10
10
libraryDependencies += guice
11
- libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % " 7.0.1 " % Test
11
+ libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % LibraryVersions .scalatestPlayVersion % Test
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.playframework" % " sbt-plugin" % " 3.0.4 " )
1
+ addSbtPlugin(" org.playframework" % " sbt-plugin" % LibraryVersions .playVersion )
2
2
addSbtPlugin(" org.foundweekends.giter8" % " sbt-giter8-scaffold" % " 0.11.0" )
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ enablePlugins(SbtWeb)
9
9
scalaVersion := ScalaVersions .scala3Version
10
10
11
11
libraryDependencies += guice
12
- libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % " 7.0.1 " % Test
12
+ libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % LibraryVersions .scalatestPlayVersion % Test
13
13
libraryDependencies += " org.webjars.bower" % " bootstrap-sass" % " 3.3.7"
14
14
15
15
// See https://github.com/sbt/sbt-js-engine/issues/68
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.playframework" % " sbt-plugin" % " 3.0.4 " )
1
+ addSbtPlugin(" org.playframework" % " sbt-plugin" % LibraryVersions .playVersion )
2
2
addSbtPlugin(" org.foundweekends.giter8" % " sbt-giter8-scaffold" % " 0.11.0" )
3
3
addSbtPlugin(" com.typesafe.sbt" % " sbt-coffeescript" % " 1.0.2" )
4
4
addSbtPlugin(" com.github.platypii" % " sbt-typescript" % " 4.6.4" )
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ enablePlugins(PlayScala)
8
8
scalaVersion := ScalaVersions .scala3Version
9
9
10
10
libraryDependencies += guice
11
- libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % " 7.0.1 " % Test
11
+ libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % LibraryVersions .scalatestPlayVersion % Test
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.playframework" % " sbt-plugin" % " 3.0.4 " )
1
+ addSbtPlugin(" org.playframework" % " sbt-plugin" % LibraryVersions .playVersion )
2
2
addSbtPlugin(" org.foundweekends.giter8" % " sbt-giter8-scaffold" % " 0.11.0" )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ enablePlugins(PlayScala)
8
8
scalaVersion := ScalaVersions .scala3Version
9
9
10
10
libraryDependencies += guice
11
- libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % " 7.0.1 " % Test
11
+ libraryDependencies += " org.scalatestplus.play" %% " scalatestplus-play" % LibraryVersions .scalatestPlayVersion % Test
12
12
13
13
// Adds additional packages into Twirl
14
14
// TwirlKeys.templateImports += "com.baeldung.controllers._"
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.playframework" % " sbt-plugin" % " 3.0.4 " )
1
+ addSbtPlugin(" org.playframework" % " sbt-plugin" % LibraryVersions .playVersion )
2
2
addSbtPlugin(" org.foundweekends.giter8" % " sbt-giter8-scaffold" % " 0.11.0" )
Original file line number Diff line number Diff line change
1
+ object LibraryVersions {
2
+ val playVersion = " 3.0.4"
3
+ val playSlickVersion = " 6.1.1"
4
+ val scalatestPlayVersion = " 7.0.1"
5
+ }
You can’t perform that action at this time.
0 commit comments