-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Posibility to specify nuget download url #43
Comments
Would be nice indeed, feeling like contributing it ? |
I've just started looking at gradle and would be happy to contribute a fix for this as well as allowing you to use 'latest' as the nuget version. The only problem is that I am not sure how to test my changes locally before submitting the pull request. |
@admsteck You can either create some tests in Specs we have so far, or, make a test project where you use the plugin and configure it like you want (In order to use the modified version you either install it locally, or do a |
Thanks @timotei. I went with the |
Appears that urls are case sensitive - this one opens fine: However plugin builds lowercase url which fails:
|
Seems the lowercase url works for <3.4.4 versions (tested with 3.4.3, both lowercase and cased urls work). |
actually no, needs to be lowercase for <3.4.4 and cased for >=3.4.4 |
see #48 |
I'd like posibility to override nuget download web url (for offline builds) which currently is hardcoded in BaseNuGet exec:
def nugetUrl = "https://dist.nuget.org/win-x86-commandline/v${project.extensions.nuget.version}/nuget.exe"
It would be cool to be able to provide own url like this:
nuget {
nugetUrl ="http://cache.local/nuget/3.3.0/nuget.exe"
}
The text was updated successfully, but these errors were encountered: