As nuget install allows a lot of options allows to install packages in folders without version numbers it is quiet comfortable as the path in gradle.build doesn't need to be updated if a source set contains the content of a NuGet. Therefore my protposal would be to add nugetInstallas a task.