-
-
Notifications
You must be signed in to change notification settings - Fork 134
Building PacketEvents
retrooper edited this page May 3, 2024
·
5 revisions
Building PacketEvents requires the Gradle JVM to use Java 17 due to our unit tests.
Regardless of the Gradle JVM being Java 17, PacketEvents is still written with the Java 8 SDK and will produce a runnable for Java 8.
- Git
- Java 17+ for Gradle JVM
- Gradle
Clone the packetevents repository using this Git command:
git clone --branch 2.0 https://github.com/retrooper/packetevents.git
Build with this command:
gradlew build
Examples of how to use PacketEvents
Click this!