title: gradle: can you apply plugin from command line
body: <p>I downloaded an open source gradle-built project and ran <code>gradle eclipse</code> but <code>apply plugin: 'eclipse'</code> was not in <code>build.gradle</code> so it failed. I edited the file and added the line then successfully ran <code>gradle eclipse</code>. I found this a bit clunky inasmuch as I'd prefer to be able to run <code>gradle eclipse</code> with some flag for instance so that I don't need to change the source at all. Is there an alternative to my action?</p>