Skip to content

Commit

Permalink
Remove guava from the API (#2469)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMorpheus authored Nov 11, 2023
1 parent e63ce04 commit ae6669f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ val ap by sourceSets.registering {
val adventureVersion: String by project
val configurateVersion: String by project
val gsonVersion: String by project
val guavaVersion: String by project
val log4jVersion: String by project
val mathVersion: String by project
dependencies {
Expand All @@ -44,12 +43,6 @@ dependencies {

// Directly tied to what's available from Minecraft
api("org.apache.logging.log4j:log4j-api:$log4jVersion")
api("com.google.guava:guava:$guavaVersion") {
exclude(group ="com.google.code.findbugs", module = "jsr305") // We don't want to use jsr305, use checkerframework
exclude(group = "org.checkerframework", module = "checker-qual") // We use our own version
exclude(group = "com.google.j2objc", module = "j2objc-annotations")
exclude(group = "org.codehaus.mojo", module = "animal-sniffer-annotations")
}
api("com.google.code.gson:gson:$gsonVersion")

// Adventure
Expand Down Expand Up @@ -178,7 +171,6 @@ tasks {
links(
"https://logging.apache.org/log4j/log4j-$log4jVersion/log4j-api/apidocs/",
"https://google.github.io/guice/api-docs/5.0.1/javadoc/",
"https://guava.dev/releases/$guavaVersion/api/docs/",
"https://configurate.aoeu.xyz/$configurateVersion/apidocs/",
"https://www.javadoc.io/doc/com.google.code.gson/gson/$gsonVersion/",
"https://jd.spongepowered.org/math/$mathVersion"
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ checkstyleVersion=10.5.0
configurateVersion=4.1.2
errorproneVersion=2.16
gsonVersion=2.10
guavaVersion=31.1-jre
junitVersion=5.9.1
log4jVersion=2.19.0

Expand Down

0 comments on commit ae6669f

Please sign in to comment.