You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "gwinstanley (via GitHub)" <gi...@apache.org> on 2026/01/23 10:42:50 UTC

[I] Opt in to Gradle wrapper use if present, or custom option if not [netbeans]

gwinstanley opened a new issue, #9157:
URL: https://github.com/apache/netbeans/issues/9157

   ### Description
   
   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.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Opt in to Gradle wrapper use if present, or custom option if not [netbeans]

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #9157:
URL: https://github.com/apache/netbeans/issues/9157#issuecomment-3789741448

   Your request could describe what exists already.   What differs?  A dropdown of available versions for custom selection?
   
   There is no bundled Gradle btw.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Opt in to Gradle wrapper use if present, or custom option if not [netbeans]

Posted by "gwinstanley (via GitHub)" <gi...@apache.org>.
gwinstanley commented on issue #9157:
URL: https://github.com/apache/netbeans/issues/9157#issuecomment-3789782196

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists