The project targets Java 8 bytecode.
Gradle itself should run using a JDK compatible with the Gradle version used by the project. The wrapper contains JDK-discovery logic so an incompatible ambient Java installation does not accidentally start Gradle.
Linux/macOS:
./gradlew clean buildWindows:
gradlew.bat clean buildLinux/macOS:
NILSDK_GRADLE_JAVA_HOME=/path/to/jdk-21 ./gradlew clean buildPowerShell:
$env:NILSDK_GRADLE_JAVA_HOME = "C:\Program Files\Eclipse Adoptium\jdk-21"
.\gradlew.bat clean buildThe environment-variable name above is historical and should be renamed as part of the NilKit migration only when the corresponding launcher scripts are updated at the same time.
./gradlew decompileNilloaderNormal builds should not decompile NilLoader as a side effect.
The project currently has separate workflows for:
- normal build/test on commits and pull requests
- tagged releases
Cross-platform CI should cover Windows and Linux at minimum. macOS can be added if the project wants CI-backed claims for all three major desktop operating systems.