joseph_ivie
02/20/2025, 5:39 AM.iml
files to define the modules, but the Gradle integration does not appear to generate any of these files, yet somehow works. Is an IntelliJ plugin necessary to define the projects and modules? If so, can anyone get me a good starting point? My non-multiplatform version of this project just used those `.iml`s but that's not an option this time around.gildor
02/24/2025, 2:25 PMgildor
02/24/2025, 2:26 PMgildor
02/24/2025, 2:29 PMjoseph_ivie
02/24/2025, 3:02 PMtapchicoma
02/26/2025, 10:28 AMAleksei Cherepanov
02/26/2025, 10:55 AMthe Gradle integration does not appear to generate any of these filesGradle does it but in different way. It generates the same iml files but as xml and in IJ cache folders, e.g.
~/Library/Caches/JetBrains/IntelliJIdea***/projects/***/external_build_system/modules
For Gradle you have an option to save those files under .idea/modules
to store in VCS (pic), but be careful because there are plans to remove this functionality IDEA-367043 Remove the "Generate .iml files..." check box
I think that JpsProjectModelSynchronizer
should do this logic, but there are also plans to get rid of it for external build systems IJPL-176998 Don't store workspace entities in XML files if it was imported from the build system
So imls had two purposes - 1) store project info for JPS projects and 2) allow IJ quickly restore project data from disk, but the second option is no longer needed as all project info is already duplicated in the new workspace model in binary format