15 Commits

Author SHA1 Message Date
f3e30558e4 Gradle deprecation fixes & upgrades (#1594)
* Fix Gradle deprecations

By using test suites, we explicitely configure the relevant dependencies
on the test sourceset. This is not done by merely configuring the test task.

* Switch to maintained version of Shadow

* Update to Gradle 8.14.2
2025-06-28 16:28:29 -07:00
39191957ea Migrate to setup-gradle, Gradle 8.11.1. (#1480) 2024-12-21 03:02:30 -05:00
716da9eaf6 [ci skip] Update Gradle to 8.7. (#1274)
The "org.gradle.toolchains.foojay-resolver-convention" dependency has been skipped however as it is already up-to-date.
2024-03-22 23:52:39 -05:00
fc3bc1f3fe Update Adventure to 4.16.0 (#1248)
* Update Adventure to 4.16.0

Also migrated shadow from `com.github.johnrengelman.shadow` to `io.github.goooler.shadow`, which fixes the project compilation using Java 21 and Gradle 8.6

* Update Gradle to 8.6 release
2024-02-20 10:10:52 -05:00
a6d90105ec Update Configurate to 4.1.2 and include Configurate 3 (#1157) 2023-12-11 15:16:44 +00:00
1161482fce Upgradle to v8.1 and remove now-redundant warnings (#1001) 2023-04-19 17:43:25 -04:00
9122d70ffe Update Gradle wrapper, add wrapper-validation-action to build workflow 2023-03-09 19:10:01 +01:00
15216e5b00 Update Gradle wrapper 2022-12-07 14:09:01 +01:00
001cb5708f misc build changes 2021-12-09 10:29:32 -08:00
fae1ee8373 Track some dependency updates
junit: 5.3.0-M1 -> 5.7.0
slf4j: 1.7.25 -> 1.7.30
netty: 4.1.51.Final -> 4.1.52.Final
guava: 25.1-jre -> 29.0-jre
checkerFramework: 2.7.0 -> 3.6.1
jline-terminal-jansi: 3.12.1 -> 3.16.0
fastutil: 8.2.3 -> 8.4.1
async-http-client: 2.10.4 -> 2.12.1
completable-futures: 0.3.2 -> 0.3.3
gradle-wrapper: 6.6 -> 6.6.1

BREAKING CHANGE: No breaking change
2020-09-15 13:27:16 +02:00
c47d25c88a Upgrade to Gradle 6.6 and use SpotBugs.
As a result, at least one real bug was fixed! Nice.
2020-08-21 19:09:04 -04:00
1661cece2d An Easter basket bearing gifts! (#191)
* Delay switch to new server until after JoinGame is sent.

Unfortunately, in some cases (especially vanilla Minecraft) some login
disconnects are sent after ServerLoginSuccess but before JoinGame.
We've been using ServerLoginSuccess but it has caused too many problems.
Now Velocity will switch to a stripped-down version of the play session
handler until JoinGame is received. This handler does very little by
itself: it simply forwards plugin messages (for Forge) and waits for the
JoinGame packet from the server.

This is an initial version: only vanilla Minecraft 1.12.2 was tested.
However this is the way Waterfall without entity rewriting does server
switches (which, in turn, is inherited from BungeeCord).

* Move to Gradle 5 and Error Prone.
2019-04-24 14:36:49 -04:00
8d045c9140 Bump versions of Gradle, log4j, and Netty. 2018-09-08 00:32:53 -04:00
25d13b2cc4 Bump to Gradle 4.9, fix deprecation warnings. 2018-07-31 15:25:34 -04:00
666d07e2a8 Initial commit. Very broken and only does Server List Ping! 2018-07-24 14:08:55 -04:00