Hello everyone,
I’ve recently started working with the Apache Doris database and therefore need to use a MySQL driver. I’m currently adding the following dependency:
implementation 'com.mysql:mysql-connector-j:9.5.0'
The issue is the following:
- I add the dependency to
build.gradle - I sync Gradle
- The project starts and works correctly
- After stopping the application and either syncing Gradle again or restarting the project, the dependency disappears from
build.gradle
As a result, the parts of the application that connect to Doris stop working because the driver is no longer present.
I suspect something in the Jmix tooling or Gradle integration may be overwriting the file. Has anyone experienced something similar or knows what could be causing this?
Environment:
- Jmix version: 2.7.0
- IntelliJ IDEA 2025.2.4 (Community Edition)
- SDK: Eclipse Temurin 21.0.8
).