You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Opt in to Gradle wrapper use if present, or custom option if not #9157
The current Gradle config settings (NB28) allow one of:
Prefer to use Gradle Wrapper that Comes with the Project
Custom
Given that it inevitably/understandably takes time for each version of NB to support new features, it would be useful to have the option to use Gradle Wrapper if present, with a custom fallback otherwise (instead of fallback to the bundled Gradle version).
Use case/motivation
Trying to improve Gradle version selection for different projects with/without use of wrapper.
Interesting, as I thought (at least historically) there was a Gradle version bundled. As I mentioned in my original post, there currently exist two options: (1) prefer wrapper, (2) custom. I'm interested in another option which chooses the wrapper if present, or a custom Gradle if not. Not all projects have a wrapper definition, so having a suitable fallback seems to make sense.
Until recently I've mostly been using a custom Gradle option, pointing to a symlink for my own Gradle installation. However this doesn't accommodate some projects (e.g. web projects) which currently need an older Gradle version to work correctly with NB IDE interface. My most typical workflow is actually to not use wrapper during development (then hard-define it at point of release), as I aim for most of my own projects to use cutting-edge versions where possible, and this seems the simplest workflow. However, some projects clearly need to override this and use older versions. Yes, I could indeed define wrappers for every project, yet it adds yet another layer of admin burden.
This seems likely a simple enhancement to NB, although admittedly not a priority, hence a feature request rather than bug report.
Activity
neilcsmith-net commentedon Jan 23, 2026
Your request could describe what exists already. What differs? A dropdown of available versions for custom selection?
There is no bundled Gradle btw.
gwinstanley commentedon Jan 23, 2026
Interesting, as I thought (at least historically) there was a Gradle version bundled. As I mentioned in my original post, there currently exist two options: (1) prefer wrapper, (2) custom. I'm interested in another option which chooses the wrapper if present, or a custom Gradle if not. Not all projects have a wrapper definition, so having a suitable fallback seems to make sense.
Until recently I've mostly been using a custom Gradle option, pointing to a symlink for my own Gradle installation. However this doesn't accommodate some projects (e.g. web projects) which currently need an older Gradle version to work correctly with NB IDE interface. My most typical workflow is actually to not use wrapper during development (then hard-define it at point of release), as I aim for most of my own projects to use cutting-edge versions where possible, and this seems the simplest workflow. However, some projects clearly need to override this and use older versions. Yes, I could indeed define wrappers for every project, yet it adds yet another layer of admin burden.
This seems likely a simple enhancement to NB, although admittedly not a priority, hence a feature request rather than bug report.