IDE Integration

It would be great to have IDE call back and manipulation functionality within the Gradle scripts like Groovy Monkey. This functionality can be part of the IDE plugins. E.g. eclipse plugin can automate some IDE tasks like adding new file and refreshing work space.

The IDE should be accessible like an object through the plugin and manipulatable within tasks.

Also this can be used to automate tasking when building or debugging with perhaps a different process used when debugging than building. Also to automate certain pre, post and event based debugging and IDE automation tasks.