diff --git a/dd-java-agent/instrumentation/play-2.3/play-2.3.gradle b/dd-java-agent/instrumentation/play-2.3/play-2.3.gradle index fc88656192..4e74546bc0 100644 --- a/dd-java-agent/instrumentation/play-2.3/play-2.3.gradle +++ b/dd-java-agent/instrumentation/play-2.3/play-2.3.gradle @@ -51,3 +51,8 @@ dependencies { exclude group: 'org.eclipse.jetty', module: 'jetty-websocket' } } + +compileLatestDepTestGroovy { + classpath = classpath.plus(files(compileLatestDepTestScala.destinationDir)) + dependsOn compileLatestDepTestScala +} diff --git a/dd-java-agent/instrumentation/play-2.3/src/test/groovy/client/PlayWSClientTest.groovy b/dd-java-agent/instrumentation/play-2.3/src/test/groovy/client/PlayWSClientTest.groovy index e254806bb4..9d8c119f2c 100644 --- a/dd-java-agent/instrumentation/play-2.3/src/test/groovy/client/PlayWSClientTest.groovy +++ b/dd-java-agent/instrumentation/play-2.3/src/test/groovy/client/PlayWSClientTest.groovy @@ -12,7 +12,13 @@ import java.util.concurrent.TimeUnit class PlayWSClientTest extends HttpClientTest { @Shared - def application = new FakeApplication(new File("."), FakeApplication.class.getClassLoader(), Collections.emptyMap(), Collections.emptyList(), new GlobalSettings()) + def application = new FakeApplication( + new File("."), + FakeApplication.class.getClassLoader(), + Collections.emptyMap(), + Collections.emptyList(), + new GlobalSettings() + ) def setup() { Helpers.start(application)