Error parsing command line: Expected parameter for option '--contexts'

I am trying to integrate liquibase into a project following the documentation https://contribute.liquibase.com/extensions-integrations/directory/integration-docs/gradle/#__tabbed_1_3
However, when running the update command, I encounter an error: Error parsing command line: Expected parameter for option ‘–contexts’ but found ‘update’.
When trying to pass the context via the terminal with the command ./gradlew update --url=jdbc:postgresql://localhost:5432/Bitcoin_Price_Tracking_Bot --username=root --password=root -PrunList=main, the error Unknown command-line option ‘–url’ appears.
If I try to enter parameters with the command ./gradlew -Dliquibase.url=jdbc:postgresql://localhost:5432/Bitcoin_Price_Tracking_Bot -Dliquibase.username=root -Dliquibase.password=root update -PrunList=main I still get the error Cannot locate tasks that match ‘.url=jdbc:postgresql://localhost:5432/Bitcoin_Price_Tracking_Bot’ as project ‘.url=jdbc’ not found in root project ‘cryptoBot’.






Please tell me how to fix this.

Welcome to the forum @Denis_Ogievich!

From the description and screenshots provided, I suspect that you are building a context parameter into the update operation but not providing a value for it. I’m basing that on the error message and this section of your configuration:

For next steps in troubleshooting I would try setting System.properties.liquibaseContexts to a null or empty value or remove the contexts specification. Good luck!