- Java JDK version 21.0.0 onwards
- Check version:
java -version
- Installation:
brew install java
- Check version:
- Gradle version 8.5
- Check version:
gradle -version
- Installation:
brew install gradle
- Check version:
- Kotlin version 1.9.22
- Check version:
kotlin -version
(may not run) - Installation:
brew install kotlin
'
- Check version:
- Install extensions before cloning the repository, then restart VS Code:
- Clone the repo:
git clone git@github.com:ministryofjustice/hmpps-create-electronic-monitoring-order.git
- Open the project in VS Code. It should tell you that gradle config was successful.
- Open the gradle extension using the menu on the left (elephant icon).
Run the following tasks by clicking the play button on the line for the task:- Tasks/build/build
- Tasks/application/bootRun
This should run the webserver locally. You should be able to access it at localhost:8080
.