gradle-nuget-plugin
gradle-nuget-plugin copied to clipboard
The process cannot access the file 'fileContent.lock' because it is being used by another process
Trying to do the same thing as described in #18 with the following nugetSpec task:
nugetSpec {
nuspecFile = project.file("Package.nuspec")
nuspec {
metadata() {
delegate.version version
delegate.authors project.authors
}
}
}
But I get this error when trying to use the above:
> Task :nugetSpec
> Task :nugetPack FAILED
The process cannot access the file 'D:\jenkins\workspace\mybuild\.gradle\4.10.2\fileContent\fileContent.lock' because it is being used by another process.
FAILURE: Build failed with an exception.
@gigi81 That's weird. Do you reliably/always get it? Seems something Gradle-related