Documentation: https://docs.faststats.dev/java
Run Gradle from the repository root. The library modules use the standard Java lifecycle, while deployable example plugins and mods use the packaging task expected by their platform.
Use build for the reusable FastStats libraries:
./gradlew :core:build
./gradlew :config:build
./gradlew :bukkit:build
./gradlew :bungeecord:build
./gradlew :nukkit:build
./gradlew :sponge:buildLibrary jars are written to each module's build/libs directory.
These examples use Shadow so FastStats is bundled into the deployable plugin or server jar. Build the shadowJar task
directly when you want the artifact to install or run:
./gradlew :bukkit:example-plugin:shadowJar
./gradlew :bungeecord:example-plugin:shadowJar
./gradlew :nukkit:example-plugin:shadowJar
./gradlew :sponge:example-plugin:shadowJarUse the *-all.jar file from the example module's build/libs directory.
To compile and test all modules with the standard lifecycle, run:
./gradlew buildFor deployable example artifacts, run the platform-specific commands above after build or instead of it.