Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Latest commit

 

History

History
45 lines (32 loc) · 2.03 KB

README.md

File metadata and controls

45 lines (32 loc) · 2.03 KB

Development Environment Setup

  • Java 17 SDK installed. If you have several versions installed, it is preferred to have Java 17 set as default version.
  • more or less recent Linux or MacOS (Windows WSL2 may work, but not tested)
  • git 2.27+
  • docker version 20.10+
  • docker-compose version 1.25+

Two last prerequisites are necessary only if you plan to launch local network.

Getting code

Building code

Use following command to build binaries and run unit tests:

$ ./gradlew clean build

Running integration tests

Integration tests take quite a while to run (over an hour on most machines).

They are typically run as part of a PR.

$ ./gradlew integrationTest

IntelliJ IDEA Troubleshooting

In some cases IntelliJ IDEA may deny to load project properly. Usually this happens if you have installed more than one Java version. If you meet this issue, check following configuration options:

  • Project Structure -> Project Settings -> Project, make sure Project SDK and Project Language Level is set to 17 (Preview) - Pattern matching for switch.
  • Project Structure -> Project Settings -> Modules, make sure that every module has Language Level set to 17 (Preview) - Pattern matching for switch (Project default)
  • Settings -> Build,Execution, Deployment -> Build Tools -> Gradle, make sure that Gradle JVM is set to Project JDK.

There are a variety of run configurations, depending on how you'd like to test your code: