File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ plugins {
66 id(" otel.spotless-conventions" )
77
88 id(" com.google.cloud.tools.jib" )
9+ // TODO (trask) this plugin doesn't support Play 2.9+, see https://github.com/gradle/playframework/issues/185
10+ // once play 3.1 is released, we can update to https://github.com/orgs/playframework/discussions/12338
911 id(" org.gradle.playframework" ) version " 0.14"
1012}
1113
@@ -23,6 +25,10 @@ play {
2325
2426dependencies {
2527 implementation(" com.typesafe.play:play-guice_$scalaVer :$playVer " )
28+ // Guice 5.1 is needed for Java 17 support on Play 2.8, see https://github.com/playframework/playframework/releases/tag/2.8.15
29+ // TODO (trask) remove these version overrides after updating to Play 2.9
30+ implementation(" com.google.inject:guice:5.1.0" )
31+ implementation(" com.google.inject.extensions:guice-assistedinject:5.1.0" )
2632 implementation(" com.typesafe.play:play-logback_$scalaVer :$playVer " )
2733 implementation(" com.typesafe.play:filters-helpers_$scalaVer :$playVer " )
2834}
You can’t perform that action at this time.
0 commit comments