[#907] Remove Guava dependency

This commit is contained in:
Carter Jernigan 2023-02-01 15:16:48 -05:00 committed by Carter Jernigan
parent 28be779fc3
commit 3a4ea7eefd
3 changed files with 0 additions and 13 deletions

View File

@ -120,7 +120,6 @@ GOOGLE_MATERIAL_VERSION=1.7.0
GRPC_KOTLIN_VERSION=1.3.0
GRPC_VERSION=1.52.1
GSON_VERSION=2.9.0
GUAVA_VERSION=31.1-android
JACOCO_VERSION=0.8.8
JAVAX_ANNOTATION_VERSION=1.3.2
JUNIT_VERSION=5.9.1

View File

@ -249,16 +249,6 @@ dependencies {
implementation(libs.kotlinx.coroutines.core)
implementation(libs.kotlinx.coroutines.android)
//
// Locked Versions
// these should be checked regularly and removed when possible
// solves error: Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules
// jetified-guava-26.0-android.jar (com.google.guava:guava:26.0-android) and listenablefuture-1.0.jar
// (com.google.guava:listenablefuture:1.0) per this recommendation from Chris Povirk, given guava's decision to
// split ListenableFuture away from Guava: https://groups.google.com/d/msg/guava-discuss/GghaKwusjcY/bCIAKfzOEwAJ
implementation(libs.guava)
// Tests
testImplementation(libs.kotlin.reflect)
testImplementation(libs.kotlin.test)

View File

@ -99,7 +99,6 @@ dependencyResolutionManagement {
val grpcJavaVersion = extra["GRPC_VERSION"].toString()
val grpcKotlinVersion = extra["GRPC_KOTLIN_VERSION"].toString()
val gsonVersion = extra["GSON_VERSION"].toString()
val guavaVersion = extra["GUAVA_VERSION"].toString()
val javaVersion = extra["ANDROID_JVM_TARGET"].toString()
val javaxAnnotationVersion = extra["JAVAX_ANNOTATION_VERSION"].toString()
val junitVersion = extra["JUNIT_VERSION"].toString()
@ -158,7 +157,6 @@ dependencyResolutionManagement {
library("grpc-protobuf", "io.grpc:grpc-protobuf-lite:$grpcJavaVersion")
library("grpc-stub", "io.grpc:grpc-stub:$grpcJavaVersion")
library("gson", "com.google.code.gson:gson:$gsonVersion")
library("guava", "com.google.guava:guava:$guavaVersion")
library("javax-annotation", "javax.annotation:javax.annotation-api:$javaxAnnotationVersion")
library("kotlin-reflect", "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
library("kotlin-stdlib", "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")