I have the following issue for my custom language plugin:
1) I do not want to bother supporting makefiles directly, though if it is really a relatively straightforward process I might consider it.
2) I wrote a gradle wrapper script for Makefiles that seems to work well enough; it should work for any (ok, most) Makefiles without modification.
However, IntelliJ, at least on Windows, does not like to follow soft symbolic links, and I really hate the idea of copying this build.gradle file all over the place for
projects that have many makefiles that are being used in a hierarchical fashion. Soft links would be bad enough.
A better seeming solution would be for the project to simply assume that this build.gradle is being used, unless there is already a build.gradle in the project's directory.
Now, aside from the issue of figuring out how to tell the gradle plugin to check if we are using my language plugin, there is the issue of making gradle itself aware of this
virtual file (or tempory file, or file stored in a non-project location). In this way, this wrapper build.gradle file will not be put into source repositories for people that aren't
using IntelliJ, etc.
Is this a reasonable thing to do?
Any pointers on where to start?