This message was deleted.
# plugin-development
s
This message was deleted.
v
Apply
idea-ext
plugin and use
withModuleXml
within
idea { module { configure<ModuleSettings> { ... } } }
to directly manipulate the IJ module xml file to be written
j
Thanks for the pointer. I didn't get it working, because then you explicitly need to enable that these files are generated at all (something I don't really want users to do). And even then it did not work – probably because you need to apply the plugin int the root AND the subprojects. It fells quite shaky. I gave up getting it working as it won't be useful for me (I want to do something generic in a plugin, not in a concrete build).
v
Ah, I forgot that for theses you have to manually enable "Generate *.iml files..." in the IDE. Alternatively, you could use
withIDEADir
or
withIDEAFileXml
, those should always work without special setting.