Apache Netbeans 27 Adds Gradle Fixes |
Written by Kay Ewbank | |||
Tuesday, 26 August 2025 | |||
Apache has released Netbeans 27, with fixes to Gradle handling, Maven updates, and more work on JDK 25 compatibility. NetBeans is an IDE for Java SE, Java EE, PHP and JavaScript development with some Groovy and C/C++ support. It provides editors, wizards and templates, and is cross platform. Benefits of NetBeans include two way editing for Web projects, JNI support in the box, and strong support for Maven and Ant in the IDE. The improvements to Gradle handling start with improved support for using the latest Gradle version in new projects. While support for using the latest Gradle version when initializing a project was added in an earlier release, the developers acknowledge that the feature has been somewhat temperamental, as it doesn't always pick up later versions, and it works by reinitializing the wrapper, potentially downloading two different Gradle versions. The update adds a new method to GradleDistributionManager to query the latest version from the Gradle web service, and adds support for setting a Gradle version and passing the details to the Tooling API. The current version is also queried in the wizard, replacing the previous additional wrapper step. In future this should allow the wizard to be enhanced to offer a choice of Gradle version. Maven improvements include the addition of the Njord extension to ignored Maven lifecycle participants. The developers say this was necessary because as OSSRH has reached end of life, the sensible projects are switching to Njord to handle publishing to central. Unfortunately, if added as an extension in the POM, NetBeans adds a project warning that cannot be removed. The change is a quick fix for NB27 to add Njord to the ignore list. The team says there may be other Maveniverse extensions that do not impact on NetBeans' Maven support that could be added too. The bundled version of Maven has also been updated to 3.9.11, and the mvnd test session regression has been fixed so it no longer thinks tests that have finished are still running. The push for JDK 25 compatibility has also continued, with better handling of javadoc build issues, an updated version of nb-javac, and support for continuous integration testing for JDK 25. More general Java improvements offer better cover refactoring and code completion for compact source files, along with debugger enhancements. Netbeans 27 is available now. More InformationRelated ArticlesNetBeans 14 Extends JDK 17 Support NetBeans 13 Improves PHP And Maven Support NetBeans 12.6 Increases Support For Java 17 NetBeans 12.4 Adds Java 16 Support NetBeans Improves Java Support NetBeans Is A Top-Level Apache Project To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |