diff --git a/api/build.gradle.kts b/api/build.gradle.kts index 1db7853fa..3ab8bfe94 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -23,6 +23,7 @@ val adventureVersion: String by project.extra val slf4jVersion: String by project.extra val checkerFrameworkVersion: String by project.extra val configurateVersion: String by project.extra +val caffeineVersion: String by project.extra dependencies { api("com.google.code.gson:gson:$gsonVersion") @@ -46,6 +47,8 @@ dependencies { api("org.spongepowered:configurate-hocon:${configurateVersion}") api("org.spongepowered:configurate-yaml:${configurateVersion}") api("org.spongepowered:configurate-gson:${configurateVersion}") + + api("com.github.ben-manes.caffeine:caffeine:$caffeineVersion") } tasks { @@ -66,7 +69,8 @@ tasks { "https://guava.dev/releases/$guavaVersion/api/docs/", "https://google.github.io/guice/api-docs/$guiceVersion/javadoc/", "https://docs.oracle.com/en/java/javase/11/docs/api/", - "https://jd.advntr.dev/api/$adventureVersion/" + "https://jd.advntr.dev/api/$adventureVersion/", + "https://javadoc.io/doc/com.github.ben-manes.caffeine/caffeine" ) // Disable the crazy super-strict doclint tool in Java 8 diff --git a/gradle.properties b/gradle.properties index 300c71202..ab667fe29 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ nettyVersion=4.1.89.Final flareVersion=2.0.1 asyncHttpClientVersion=2.12.3 bstatsVersion=3.0.0 -caffeineVersion=3.1.2 +caffeineVersion=3.1.5 lmbdaVersion=2.0.0 nightConfigVersion=3.6.6 completableFuturesVersion=0.3.5 diff --git a/proxy/build.gradle.kts b/proxy/build.gradle.kts index 8d24aab68..78fcfe6f9 100644 --- a/proxy/build.gradle.kts +++ b/proxy/build.gradle.kts @@ -92,7 +92,6 @@ val adventureVersion: String by project.extra val adventureFacetVersion: String by project.extra val asyncHttpClientVersion: String by project.extra val bstatsVersion: String by project.extra -val caffeineVersion: String by project.extra val completableFuturesVersion: String by project.extra val disruptorVersion: String by project.extra val fastutilVersion: String by project.extra @@ -144,8 +143,6 @@ dependencies { implementation("org.bstats:bstats-base:$bstatsVersion") implementation("org.lanternpowered:lmbda:$lmbdaVersion") - implementation("com.github.ben-manes.caffeine:caffeine:$caffeineVersion") - implementation("space.vectrix.flare:flare:$flareVersion") implementation("space.vectrix.flare:flare-fastutil:$flareVersion")