Skip to content

Commit

Permalink
Remove guava specific config
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <carrofin@amazon.com>
  • Loading branch information
finnegancarroll committed Nov 14, 2024
1 parent 5038cf3 commit 1e5d354
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 1e5d354

Please sign in to comment.