-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
There was a commit 2ead8da that has changed NuGetPack class.
A type of csprojPath field has changed from String to File.
This field is used in getIdFromMsbuildTask method that left unchanged:
gradle-nuget-plugin/src/main/groovy/com/ullink/NuGetPack.groovy
Lines 174 to 178 in 045fc69
| String getIdFromMsbuildTask() { | |
| def isInputProject = { csprojPath.equalsIgnoreCase(it.projectFile) } | |
| def msbuildTask = project.tasks.find { | |
| it.class.name.startsWith("com.ullink.Msbuild") && it.projects.values().any(isInputProject) | |
| } |
Now when there's an msbuild task in the project and I want to take the Id from it I get an exception on line 175:
No signature of method: java.io.File.equalsIgnoreCase() is applicable for argument types (String) ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels