3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-25 07:40:13 +01:00

Expose Caffeine in the API module

Dieser Commit ist enthalten in:
Adrian 2023-03-11 08:36:38 -05:00
Ursprung ca0fbd219c
Commit 65a84833d7
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: FB8EF84DCE1BE452
3 geänderte Dateien mit 6 neuen und 5 gelöschten Zeilen

Datei anzeigen

@ -23,6 +23,7 @@ val adventureVersion: String by project.extra
val slf4jVersion: String by project.extra val slf4jVersion: String by project.extra
val checkerFrameworkVersion: String by project.extra val checkerFrameworkVersion: String by project.extra
val configurateVersion: String by project.extra val configurateVersion: String by project.extra
val caffeineVersion: String by project.extra
dependencies { dependencies {
api("com.google.code.gson:gson:$gsonVersion") api("com.google.code.gson:gson:$gsonVersion")
@ -46,6 +47,8 @@ dependencies {
api("org.spongepowered:configurate-hocon:${configurateVersion}") api("org.spongepowered:configurate-hocon:${configurateVersion}")
api("org.spongepowered:configurate-yaml:${configurateVersion}") api("org.spongepowered:configurate-yaml:${configurateVersion}")
api("org.spongepowered:configurate-gson:${configurateVersion}") api("org.spongepowered:configurate-gson:${configurateVersion}")
api("com.github.ben-manes.caffeine:caffeine:$caffeineVersion")
} }
tasks { tasks {
@ -66,7 +69,8 @@ tasks {
"https://guava.dev/releases/$guavaVersion/api/docs/", "https://guava.dev/releases/$guavaVersion/api/docs/",
"https://google.github.io/guice/api-docs/$guiceVersion/javadoc/", "https://google.github.io/guice/api-docs/$guiceVersion/javadoc/",
"https://docs.oracle.com/en/java/javase/11/docs/api/", "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 // Disable the crazy super-strict doclint tool in Java 8

Datei anzeigen

@ -14,7 +14,7 @@ nettyVersion=4.1.89.Final
flareVersion=2.0.1 flareVersion=2.0.1
asyncHttpClientVersion=2.12.3 asyncHttpClientVersion=2.12.3
bstatsVersion=3.0.0 bstatsVersion=3.0.0
caffeineVersion=3.1.2 caffeineVersion=3.1.5
lmbdaVersion=2.0.0 lmbdaVersion=2.0.0
nightConfigVersion=3.6.6 nightConfigVersion=3.6.6
completableFuturesVersion=0.3.5 completableFuturesVersion=0.3.5

Datei anzeigen

@ -92,7 +92,6 @@ val adventureVersion: String by project.extra
val adventureFacetVersion: String by project.extra val adventureFacetVersion: String by project.extra
val asyncHttpClientVersion: String by project.extra val asyncHttpClientVersion: String by project.extra
val bstatsVersion: String by project.extra val bstatsVersion: String by project.extra
val caffeineVersion: String by project.extra
val completableFuturesVersion: String by project.extra val completableFuturesVersion: String by project.extra
val disruptorVersion: String by project.extra val disruptorVersion: String by project.extra
val fastutilVersion: String by project.extra val fastutilVersion: String by project.extra
@ -144,8 +143,6 @@ dependencies {
implementation("org.bstats:bstats-base:$bstatsVersion") implementation("org.bstats:bstats-base:$bstatsVersion")
implementation("org.lanternpowered:lmbda:$lmbdaVersion") implementation("org.lanternpowered:lmbda:$lmbdaVersion")
implementation("com.github.ben-manes.caffeine:caffeine:$caffeineVersion")
implementation("space.vectrix.flare:flare:$flareVersion") implementation("space.vectrix.flare:flare:$flareVersion")
implementation("space.vectrix.flare:flare-fastutil:$flareVersion") implementation("space.vectrix.flare:flare-fastutil:$flareVersion")