Update to Play 2.9
Update sbt, plugins, and other dependencies to support running with Play 2.9 because Play 2.8 is out of support at the end of May 2024.
See here for more information https://www.playframework.com/documentation/2.9.x/Highlights29.
Specifically the updates are:
-
build.propertiessbt version is updated from1.7.2to1.9.9 -
project/plugins.sbtPlay sbt plugin is updated from2.8.21to2.9.3. -
build.sbtsupporting dependencies-
sangria-play-json: 2.0.1 -> 2.0.2 -
sangria: 2.0.1 -> 4.0.2 -
play-json-joda: 2.8.2 -> 2.10.5 -
play-json: 2.8.2 -> 2.10.5 -
joda-time: 2.12.0 -> 2.12.7
-
This failed in staging from the below graphql error. It works fine locally on mac/aarch64. More testing is needed...
Oops, cannot start the server.
com.google.inject.CreationException: Unable to create injector, see the following errors:
1) [Guice/ErrorInjectingConstructor]: NoSuchMethodError: 'scala.Some JsBoolean$.unapply(JsBoolean)'
at GraphQL.<init>(GraphQL.scala:17)
at GraphQLController.<init>(GraphQLController.scala:33)
\_ for 1st parameter graphQL
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
I resolved the issue. I'll close this PR and make a new one so I don't have to copy the updated description