Eclipse C file include paths

Is there a way to add files to the eclipse include path for C projects? The path is clearly laid out in the .cproject file generated by the cdt command from the eclipse-cdt nature, but I cannot find a way to add compiler options to the file from gradle on generation.

Hi The CDT support in Gradle is very rudimentary. If you’re interested in investigating how it works, or perhaps even making it better, you’ll need to start with the source code.

The best place to start is: https://github.com/gradle/gradle/tree/master/subprojects/cpp/src/main/groovy/org/gradle/nativecode/cdt

We’re currently making a lot of improvements to the C++ support in Gradle, but improved CDT support is not high on the priority list, unfortunately.