Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-06 00:00:47 +01:00
Merge pull request #972 from 4drian3d/expose/caffeine
Expose Caffeine in the API module
Dieser Commit ist enthalten in:
Commit
dc7efd93ad
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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")
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren