Closed ghost closed 8 years ago
The task type does exist but no default one is set when you apply nuget plugin.
You can use it though (e.g. it's used in pdbindex plugin), syntax should be similar, e.g.:
project.task(type: com.ullink.NuGetInstall, "fooBarInstall") {
packageId = 'fooBar'
outputDirectory = someDir
includeVersionInPath = false
version = '1.0.0'
}
Hi, thanks for that one :+1: Didn't know it could be done like this!
Hi, I was trying to use nugetinstall but noticed that the task is missing on the NuGetPlugin.groovy. As a workaround it's possible to invoke the NuGet.exe directly with a task with type:Exec through the method commandLine.
Sorry I can't contribute with a patch right now due to legal reasons.