Prepare your project
When Qodana runs on your project, it tries to figure out the build system and project structure by itself. If Qodana cannot figure out the project structure, it will run the inspections nevertheless, but some inspections may report that they cannot find classes, packages, files or cannot resolve references. In these cases, Qodana needs a bit of help. Typical actions to prepare the project for Qodana are:
Install third-party packages or libraries
Run a program that sets up the build environment
These actions are carried out using the bootstrap
option of the qodana.yaml
file:
To be able to use syntax highlighting and validation in your IDE, you can create the prepare-qodana.sh
shell script and save it to the root directory of your project:
Run the script within a Qodana Docker container using the bootstrap
option: