Building from Source
Requirements and Gradle commands to compile, test, and package Pokemon Randomizer YAO locally.
Requirements
- JDK 25 (full JDK with
javac, e.g. Eclipse Temurin 25) - Git (Gradle wrapper is included in the repository)
Commands
git clone https://github.com/ch3ngo/pokemon-randomizer-yao.git
cd pokemon-randomizer-yao
# Compile and run unit tests (no ROMs required)
./gradlew build -x testROMs
# Launch the local web interface
./launch-web.sh # macOS / Linux
launch-web.bat # Windows
# Build release ZIPs for all 5 platforms (bundled Java runtime)
./gradlew :random:createReleaseZips
The compiled JAR is written to random/build/libs/PokemonRandomizerYAO.jar, and release archives are written to random/build/dist/.