Skip to content

Commit

Permalink
Merge pull request #221 from guardian/drop-play-v2.7
Browse files Browse the repository at this point in the history
Drop support for Play v2.7
  • Loading branch information
rtyley authored Apr 3, 2024
2 parents 0d1af87 + 2183c5e commit 0b29852
Show file tree
Hide file tree
Showing 35 changed files with 11 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ target/
.idea/
*.log
.bsp/
.DS_Store
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java corretto-11.0.22.7.1
10 changes: 4 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ ThisBuild / scalaVersion := "2.13.13"

val artifactPomMetadataSettings = Seq(
organization := "com.gu.play-googleauth",
licenses := Seq("Apache V2" -> url("https://www.apache.org/licenses/LICENSE-2.0.html")),
description := "Simple Google authentication module for Play 2 & 3"
licenses := Seq(License.Apache2),
description := "Simple Google authentication module for the Play web framework"
)

def projectWithPlayVersion(playVersion: PlayVersion) =
Expand All @@ -19,23 +19,21 @@ def projectWithPlayVersion(playVersion: PlayVersion) =
Compile / unmanagedSourceDirectories += baseDirectory.value / playVersion.pekkoOrAkkaSrcFolder,

libraryDependencies ++= Seq(
"com.gu.play-secret-rotation" %% "core" % "7.1.1",
"com.gu.play-secret-rotation" %% "core" % "8.1.0",
"org.typelevel" %% "cats-core" % "2.10.0",
commonsCodec,
"org.scalatest" %% "scalatest" % "3.2.18" % Test,
"software.amazon.awssdk" % "ssm" % "2.24.12" % Test
"software.amazon.awssdk" % "ssm" % "2.25.23" % Test
) ++ googleDirectoryAPI ++ playVersion.playLibs,

artifactPomMetadataSettings
)

lazy val `play-v27` = projectWithPlayVersion(PlayVersion.V27)
lazy val `play-v28` = projectWithPlayVersion(PlayVersion.V28)
lazy val `play-v29` = projectWithPlayVersion(PlayVersion.V29)
lazy val `play-v30` = projectWithPlayVersion(PlayVersion.V30)

lazy val `play-googleauth-root` = (project in file(".")).aggregate(
`play-v27`,
`play-v28`,
`play-v29`,
`play-v30`
Expand Down
1 change: 0 additions & 1 deletion play-v28/src

This file was deleted.

1 change: 0 additions & 1 deletion play-v28/src-akka

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion play-v29/src
2 changes: 1 addition & 1 deletion play-v29/src-akka
2 changes: 1 addition & 1 deletion play-v30/src
5 changes: 2 additions & 3 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ object Dependencies {
}

object PlayVersion {
val V27 = PlayVersion("27", "com.typesafe.play", "2.7.9")
val V28 = PlayVersion("28", "com.typesafe.play", "2.8.20")
val V29 = PlayVersion("29", "com.typesafe.play", "2.9.0", supportsScala3 = true)
val V28 = PlayVersion("28", "com.typesafe.play", "2.8.21")
val V29 = PlayVersion("29", "com.typesafe.play", "2.9.2", supportsScala3 = true)
val V30 = PlayVersion("30", "org.playframework", "3.0.2", supportsScala3 = true, usesPekko = true)
}

Expand Down

0 comments on commit 0b29852

Please sign in to comment.