servlet: Remove unused dependency on grpc-util in tests

Also convert to testFixtures, like we did elsewhere.

grpc-testing had previously been listed, but because of the missing
comma, it was not an actual dependency.
This commit is contained in:
Eric Anderson 2023-07-20 07:57:11 -07:00 committed by GitHub
parent b526a68622
commit 3f60746a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -42,8 +42,7 @@ dependencies {
itImplementation project(':grpc-servlet'),
project(':grpc-netty'),
project(':grpc-core').sourceSets.test.runtimeClasspath,
project(':grpc-util').sourceSets.test.runtimeClasspath,
testFixtures(project(':grpc-core')),
libraries.junit
itImplementation(project(':grpc-interop-testing')) {
// Avoid grpc-netty-shaded dependency
@ -57,8 +56,10 @@ dependencies {
jettyTestImplementation "org.eclipse.jetty:jetty-servlet:${jettyVersion}",
"org.eclipse.jetty.http2:http2-server:${jettyVersion}",
"org.eclipse.jetty:jetty-client:${jettyVersion}"
project(':grpc-testing')
"org.eclipse.jetty:jetty-client:${jettyVersion}",
project(':grpc-testing'),
libraries.truth,
libraries.protobuf.java
}
test {

View File

@ -79,8 +79,7 @@ dependencies {
itImplementation project(':grpc-servlet-jakarta'),
project(':grpc-netty'),
project(':grpc-core').sourceSets.test.runtimeClasspath,
project(':grpc-util').sourceSets.test.runtimeClasspath,
testFixtures(project(':grpc-core')),
libraries.junit
itImplementation(project(':grpc-interop-testing')) {
// Avoid grpc-netty-shaded dependency