Author: jleroux
Date: Mon Jun 24 12:29:38 2019
New Revision: 1861999
URL:
http://svn.apache.org/viewvc?rev=1861999&view=revLog:
Improved:
Fixed:
Implemented:
Documented:
Completed:
Reverted:
(OFBIZ-)
Explanation
Thanks:
Modified:
ofbiz/ofbiz-framework/trunk/gradlew.bat
Modified: ofbiz/ofbiz-framework/trunk/gradlew.bat
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/gradlew.bat?rev=1861999&r1=1861998&r2=1861999&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/gradlew.bat (original)
+++ ofbiz/ofbiz-framework/trunk/gradlew.bat Mon Jun 24 12:29:38 2019
@@ -77,14 +77,10 @@ set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
-@rem check if Gradle is installed
-if exist "%CLASSPATH%" goto GradleOK
-
-md %APP_HOME%\gradle\wrapper\
-Powershell.exe -executionpolicy remotesigned -File %APP_HOME%\init-gradle-wrapper.ps1
+@rem Overwrite the Gradle Wrapper files in all cases (it's only 55kb). This way we are sure to always use the last version
+Powershell.exe -executionpolicy remotesigned -File %APP_HOME%\gradle\init-gradle-wrapper.ps1
:GradleOK
@rem Execute Gradle