I recently created a very simplistic Gradle plugin for NetBeans IDE 7.1:
This is how it works. Before getting started, make sure that you installation of NetBeans IDE supports Groovy.
Then, install the plugin, and you'll see this:
Then, after installing the plugin, before doing anything else, register your Gradle installation:
Next, go to the New File dialog and choose the "Gradle Desktop Build Script":
On the next page, make sure to name the script "build":
Click Finish in the dialog above and your new Gradle script will be created.
Switch to the Files window and you should now be able to expand the "build.gradle" file that you find there:
As you can see, you can right-click any of the Gradle tasks and run them. You can also double-click the file node to open the file in the Groovy editor:
The file above is exactly the content you'll get when choosing the "Gradle Desktop Build Script". When you make changes in the Gradle file, the node hierarchy will automatically be updated.
Make sure that you follow the steps above, in the order described above, before leaving comments about the plugin not working for you.