We have a custom language plugin that normally compiles using JPS. We are trying to make it also work with Gradle. The problem is that we have custom file type indexes and added source roots (for these file types) and the indexes are not being populated. It looks like the Module indexing scans the added roots but just ignores the content.
I’m wondering if I am expected to add something to the Gradle file (besides marking the source dirs) in order to get these files indexed.
The files *are* being examined later by UnindexedFilesScanner, so I’m wondering if I should try to add an extension point there which indexes these files. Obviously I would prefer to change the Gradle file if I can.
I understand it’s too old to ask for a fix; I’m not convinced there is a bug here. But since I can’t find documentation on how file indexing works in a gradle imported project, I am trying to get information from someone who knows how it is supposed to behave and whether there’s a configuration pattern that I am expected to follow.