On Twitter I saw an announcement by Gradleware's Radim Kubacki re Gradle and NetBeans module support recently:
I got quite some help from Radim and below are my basic instructions for getting started with early support for building NetBeans modules via Gradle.
Curious to know what a Gradle NetBeans module looks like? Here, in the Projects window, take a very first look at a Gradle NetBeans module, the first screenshot ever taken of this cool thing:
Take the steps as follows to get set up.
Instead of "C:/Program Files", use whatever equivalent on Linux or whatever to specify the installation directory of NetBeans IDE.
The 'standalone' module, the sources of which look as shown below (in the Files window, while the Projects window displays the logical view as shown in the first hierarchical-structure screenshot in this blog entry) if you install the "Gradle Support" plugin, is now built (via the 'netbeans' task above), while the IDE automatically starts up together with an extra cluster containing the module (via the 'netBeansRun' task above), so that the module is installed in the IDE while it starts up.
To verify everything has succeeded in this sample scenario, go to the Help menu and you should see a "Say hello" menu item (which does nothing when you click it).
Now read this, which is referenced in the Tweet with which this blog entry started, and study the Gradle files in the 'sample' module shown above. Then try to apply the above procedure to your own NetBeans modules.
This is, as you can see from the above, all done from the command line. In a next blog entry, we'll show how to do this within the IDE itself. We'll also learn how to build Gradle NetBeans modules from scratch. And how to migrate existing Ant or Maven modules to Gradle. Anyone can figure these things out on their own after setting up their initial environment as described above. Choice is good and being aware of the choices available to you is therefore also good.
Would be pretty cool if Gradle were to be introduced to development teams at Boeing, NASA, NATO, etc, thanks to the new possibilities that are now exposed to NetBeans Platform developers everywhere, who are always focused on creating large meaningful applications in a wide range of software industries.