A basic Java setup for code katas.
Pre-requisites:
- Java Development Kit 21 minimum (SDKMAN! can be used for JDK installation)
- Integrated Development Environment compatible with this JDK version (for instance, IntelliJ IDEA)
Either use your favorite IDE with Gradle
integration (for instance, IntelliJ IDEA
) or run:
./gradlew test
But there are many other ones! 🙂
./gradlew useLatestVersions
Check the current version in the Gradle
documentation and run
the following command with the correct value for GRADLE_VERSION
:
export GRADLE_VERSION="x.y" \
./gradlew wrapper --gradle-version $GRADLE_VERSION