From 1e5d354ab7dd238a24fe3a672b1666343a76f9b9 Mon Sep 17 00:00:00 2001 From: Finn Carroll Date: Thu, 14 Nov 2024 11:55:02 -0800 Subject: [PATCH] Remove guava specific config Signed-off-by: Finn Carroll --- server/build.gradle | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/server/build.gradle b/server/build.gradle index e043a1b8d201d..718fe034a0ca6 100644 --- a/server/build.gradle +++ b/server/build.gradle @@ -121,7 +121,7 @@ dependencies { // reactor api "io.projectreactor:reactor-core:${versions.reactor}" api "org.reactivestreams:reactive-streams:${versions.reactivestreams}" - + // protobuf java utils api "com.google.protobuf:protobuf-java:${versions.protobuf}" api "com.google.protobuf:protobuf-java-util:${versions.protobuf}" @@ -160,15 +160,6 @@ dependencies { } } -// Ensure Guava is available at compile time for protobuf-generated sources -configurations { - compileOnlyWithGuava { - extendsFrom compileOnly - canBeResolved = true - } -} -sourceSets.main.compileClasspath += configurations.compileOnlyWithGuava - tasks.withType(JavaCompile).configureEach { options.compilerArgs -= '-Xlint:cast' options.compilerArgs -= '-Xlint:rawtypes'