Improved: no functional change
As reported by Ethan Vos on user ML, sometimes the alias between wget and
Invoke-WebRequest is not present on Windows 7, better keep it simple!
Also removes the comment:
Anyway I believe this should be only used in dev environment
which is no longer true
@@ -20,10 +20,8 @@ if ((Test-Path -Path ((Get-Item -Path ".\").FullName + "\gradle\wrapper\gradle-w
exit
}
-# This uses PowerShell Invoke-WebRequest command (aliased as wget here)
# HTTPS is not used because it gets complicated with Powershell and .Net framework versions
-# Anyway I believe this should be only used in dev environment
-wget -outf gradle\wrapper\gradle-wrapper.jar http://dl.bintray.com/apacheofbiz/GradleWrapper/v5.0.0/gradle-wrapper.jar
-wget -outf gradle\wrapper\gradle-wrapper.properties http://dl.bintray.com/apacheofbiz/GradleWrapper/v5.0.0/gradle-wrapper.properties
-wget -outf gradlew.bat http://dl.bintray.com/apacheofbiz/GradleWrapper/v5.0.0/gradlew.bat
+Invoke-WebRequest -outf gradle\wrapper\gradle-wrapper.jar http://dl.bintray.com/apacheofbiz/GradleWrapper/v5.0.0/gradle-wrapper.jar
+Invoke-WebRequest -outf gradle\wrapper\gradle-wrapper.properties http://dl.bintray.com/apacheofbiz/GradleWrapper/v5.0.0/gradle-wrapper.properties
+Invoke-WebRequest -outf gradlew.bat http://dl.bintray.com/apacheofbiz/GradleWrapper/v5.0.0/gradlew.bat
