How do we turn off IDE generation for specific modules?

how do we turn off IDE generation for specific modules? We have a couple troublesome modules with circular dependencies. We never touch the code and they are planned to be deleted at some point.

We use IDEA and Eclipse… thanks for any hints!

Run ‘gradle tasks --all’, then disable any unwanted tasks. E.g. ‘tasks.ideaModule.enabled = false’. Note that some IDE tasks are named the same as the corresponding extension objects, in which case you have to prepend ‘tasks.’ to access them.

I would suggest to avoid applying the ‘idea’ plugin to the modules you don’t want to import to idea. Disabling specific tasks might not be ideal because project (*.ipr) can still refer to the module.