File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
src/main/groovy/com/ullink Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ class BaseNuGet extends Exec {
103103 this ()
104104 args command
105105 }
106-
106+
107107 // Dummy exec() method that does nothing - allows subclasses to call super.exec() without error
108108 // The actual execution is handled by @TaskAction execute()
109109 void exec () {
@@ -277,7 +277,7 @@ class BaseNuGet extends Exec {
277277 }
278278
279279 if (! useDotnetRestore) {
280- if (isFamily(FAMILY_WINDOWS )) {
280+ if (isFamily(FAMILY_WINDOWS )) {
281281 executable = localNuget. absolutePath
282282 } else {
283283 executable = " mono"
@@ -384,9 +384,9 @@ class BaseNuGet extends Exec {
384384 try {
385385 project. logger. info " Downloading NuGet from $url ..."
386386 new URL (url). withInputStream { inputStream ->
387- localNuget. withOutputStream { outputStream ->
388- outputStream << inputStream
389- }
387+ localNuget. withOutputStream { outputStream ->
388+ outputStream << inputStream
389+ }
390390 }
391391 break
392392 } catch (Exception e) {
Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ class NuGetRestore extends BaseNuGet {
117117 project. logger. debug(" Skipping MSBuildPath on non-Windows platform (NuGet will use Mono's xbuild/MSBuild)" )
118118 } else {
119119 // On Windows, use MSBuildVersion as before
120- if (! msBuildVersion) msBuildVersion = GradleHelper . getPropertyFromTask(project, ' version' , ' msbuild' )
121- if (msBuildVersion) args ' -MsBuildVersion' , msBuildVersion
120+ if (! msBuildVersion) msBuildVersion = GradleHelper . getPropertyFromTask(project, ' version' , ' msbuild' )
121+ if (msBuildVersion) args ' -MsBuildVersion' , msBuildVersion
122122
123123 // MSBuildPath can also be explicitly set on Windows
124124 if (msBuildPath) {
You can’t perform that action at this time.
0 commit comments