Comments (9)
Seems the lowercase url works for <3.4.4 versions (tested with 3.4.3, both lowercase and cased urls work).
nUgEt is such a troll
from gradle-nuget-plugin.
Would be nice indeed, feeling like contributing it ?
from gradle-nuget-plugin.
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.
from gradle-nuget-plugin.
@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 buildSrc
symbolic link - see more info https://docs.gradle.org/current/userguide/custom_plugins.html)
from gradle-nuget-plugin.
Thanks @timotei. I went with the buildSrc
option and confirmed that it uses the nugetUrl
provided.
from gradle-nuget-plugin.
Appears that urls are case sensitive - this one opens fine:
https://dist.nuget.org/win-x86-commandline/v3.4.4/NuGet.exe
However plugin builds lowercase url which fails:
https://dist.nuget.org/win-x86-commandline/v3.4.4/nuget.exe
<Error>
<script/>
<Code>BlobNotFound</Code>
<Message>
The specified blob does not exist. RequestId:c6e5ef4b-0001-00d5-2cc8-d284b0000000 Time:2016-06-30T12:08:39.0913813Z
</Message>
</Error>
from gradle-nuget-plugin.
actually no, needs to be lowercase for <3.4.4 and cased for >=3.4.4
from gradle-nuget-plugin.
see #48
from gradle-nuget-plugin.
@vitia, @gluck, change was done in this PR: #62
from gradle-nuget-plugin.
Related Issues (20)
- Allow ad-hoc location to NuGet Executable HOT 3
- Project configuration fails without nugetSources section in build.gradle HOT 4
- Plugin cannot be released by gradle 4.9
- Timescale for 2.18? HOT 1
- Plugin won't work for Azure NuGet 3
- HOTWO nugetSpec and list of files? HOT 1
- The process cannot access the file 'fileContent.lock' because it is being used by another process HOT 1
- The distsDir method has been deprecated. This is scheduled to be removed in Gradle 6.0.
- Property is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. HOT 3
- Could not generate a decorated class for type NuGetPush HOT 4
- nugetRestore also triggers nugetSources with error HOT 1
- Solution file argument isn't being passed
- Gradle 7.0 - No such property: UPLOAD_GROUP HOT 1
- deprecated feature warning in Gradle 7.0.2
- Additional task "nugetInstall"
- nugetPack.basePath incorrect annotated as a file
- NuGetPack.getIdFromMsbuildTask got broken by csprojPath type change
- Collision when downloading nuget in multiple sub projects HOT 1
- Could not set unknown property 'nugetExePath' for extension 'nuget' of type com.ullink.NuGetExtension. HOT 1
- Gradle 8 - update version and use providers on Task objects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-nuget-plugin.