Expose Caffeine in the API module

This commit is contained in:
Adrian 2023-03-11 08:36:38 -05:00
parent ca0fbd219c
commit 65a84833d7
No known key found for this signature in database
GPG Key ID: FB8EF84DCE1BE452
3 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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")