This is a simple Java project that serves as the skeleton for technical interviews conducted on a candidate's laptop. If this project results in a successful build, your system should be ready for the interview. The project uses Gradle as the build tool and requires a Java Development Kit (JDK) 21 to be installed on your system.
- Clone this repository using Git
- Verify you have a JDK21 installed
- Open the project in your preferred IDE
Run the following command to build the project:
./gradlew build
Or on Windows:
gradlew.bat build
If everything is correctly set up, this should return:
./gradlew build
BUILD SUCCESSFUL in <n>s
4 actionable tasks: 4 executedFAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':compileJava'.
> Could not resolve all dependencies for configuration ':compileClasspath'.
> Failed to calculate the value of task ':compileJava' property 'javaCompiler'.
> Cannot find a Java installation on your machine matching: {languageVersion=21, vendor=any vendor, implementation=vendor-specific}. Toolchain download repositories have not been configured.
Verify that you've installed a JDK21.
java --version
openjdk 21.0.7 2025-04-15 LTS
OpenJDK Runtime Environment Temurin-21.0.7+6 (build 21.0.7+6-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.7+6 (build 21.0.7+6-LTS, mixed mode, sharing)