Fix the latestdeptests

This commit is contained in:
Brian Devins-Suresh 2020-03-23 14:01:57 -04:00
parent 6fa94ed9ac
commit 661a8f5a3e
2 changed files with 12 additions and 1 deletions

View File

@ -51,3 +51,8 @@ dependencies {
exclude group: 'org.eclipse.jetty', module: 'jetty-websocket' exclude group: 'org.eclipse.jetty', module: 'jetty-websocket'
} }
} }
compileLatestDepTestGroovy {
classpath = classpath.plus(files(compileLatestDepTestScala.destinationDir))
dependsOn compileLatestDepTestScala
}

View File

@ -12,7 +12,13 @@ import java.util.concurrent.TimeUnit
class PlayWSClientTest extends HttpClientTest { class PlayWSClientTest extends HttpClientTest {
@Shared @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() { def setup() {
Helpers.start(application) Helpers.start(application)