I have a project that has a dual-build system: Gradle, and Bazel (for a subset of modules). After I installed the IntelliJ Bazel plugin the project is automatically imported via Bazel and misses most sub projects. I’d like to force IDEA to import the project via Gradle, but I don’t even see the Gradle Tool window anymore. This happens even if the project was already “imported” once via Gradle — all is lost on open when the Bazel plugin is enabled.
The only way to make it work again is to disable the Bazel plugin. Is there a way to choose what build system to use when the project is open?