mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-19 15:37:42 +01:00
Implement async event tasks.
Events will now only be handled by an async executor if necessary. This should improve performance for lightweight listeners.
This commit is contained in:
@@ -69,7 +69,6 @@ dependencies {
|
||||
runtimeOnly 'com.lmax:disruptor:3.4.2' // Async loggers
|
||||
|
||||
implementation 'it.unimi.dsi:fastutil:8.4.1'
|
||||
implementation 'net.kyori:event-method-asm:4.0.0-SNAPSHOT'
|
||||
implementation 'net.kyori:adventure-nbt:4.0.0-SNAPSHOT'
|
||||
|
||||
implementation 'org.asynchttpclient:async-http-client:2.12.1'
|
||||
@@ -78,6 +77,8 @@ dependencies {
|
||||
|
||||
implementation 'com.electronwill.night-config:toml:3.6.3'
|
||||
|
||||
implementation 'org.lanternpowered:lmbda:2.0.0-SNAPSHOT'
|
||||
|
||||
compileOnly 'com.github.spotbugs:spotbugs-annotations:4.1.2'
|
||||
|
||||
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
|
||||
@@ -129,3 +130,7 @@ shadowJar {
|
||||
artifacts {
|
||||
archives shadowJar
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user