It seems eclipse can't handle some things that gradle from the command line and intellij cover.
I would like to put in code in gradle that will execute during the configure phase only when it is being run from eclipse.
Something like the below in the root build.gradle
if(we are being executed by eclipse) { task prepareForEclipse { // do something necessary for eclipse } // add a dependency of the above to this: firstTaskExecutedWhenEclipseDoesAnImportOrReImport { dependsOn prepareForEclipseImport } }
2.1m questions
2.1m answers
60 comments
57.0k users