From a964aeb890fa90b0a727a9ae567121df2e17ac92 Mon Sep 17 00:00:00 2001 From: nivl4 Date: Wed, 27 Apr 2016 08:37:20 +0800 Subject: [PATCH] chore: update gradle wrapper to version 2.13 According to the [Gradle Release Note](https://docs.gradle.org/2.13/release-notes) > We've achieved performance improvements during Gradle's configuration and execution phase, where we have measured **up to 25%** improvements to build time in our performance tests. No changes to your build script are necessary to start taking advantage of these improvements. --- gradle/wrapper/gradle-wrapper.jar | Bin 53636 -> 53636 bytes gradle/wrapper/gradle-wrapper.properties | 4 +-- gradlew | 34 +++++++++++------------ gradlew.bat | 34 +++++++++++------------ 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 941144813d241db74e1bf25b6804c679fbe7f0a3..13372aef5e24af05341d49695ee84e5f9b594659 100644 GIT binary patch delta 1239 zcmZo!%-ph=nK!_jnT3mifrEoVYtz(;ylT8a%KiG(8A0|83=E+Y9fCz9nZAB1Vq`!l z6ay+;uE-3cPHTXvZw4T0vL@q05WSg~sh9~Y(9H52ERf5(1T3&wghQAOETYAC6C%PU zXut{yi zcUjN>JuPF&vh)zstp(jXSw5}N&DU7wQkEuonMJRjE$UOWu9)qmIg;~kmtXJ_YDML!#U zLG*uXy2=g~IoEZOQ4plfC?|ZI7ZU>m3s9@urNtTE2}1EY-b+8RC|S>pwuGS~kT(?0d4=5u!$8#|4PU@0}q`V2jtvpbqMPUKacAZLxh?ZvEyLuu`|X7>Q;gAM`vcm{TEI}tJz#>G zM<%a3UX2h$P<&A@cvK|3%#>7XB&eta+=Ootxw1=C9pMS$o@hvUH9#KU0j zh{Odr3HhKM`Ui~ay#mjB}b delta 1239 zcmZ9LYfO_@7{^chQmNFU2sj~{)(I-iX>DPd65F~OP%bS^Zz_UdOJN&KK`x1Acq7gm zVdZ#cC*@~N20ouzMaJ5=`egiapDHFYDaSDG+o+SI zm?U<)RN|1P7_q!iD%{Ov6&~yj2AHkJ<8KSaM>X5Nafz37PhLze{m5(<-Fa@jbvquzvuKelC$nkkT{{cdM-3hckthBr4aHiL?{g!H$LFu zMMJUl58W9QpIw`0tu6t-`Bf49;fv{#recNj6N>p8xZIiY|388|oT=fAd6feakncEbi6wgSmM?Ke{p947xt1oORo;} zyX0/dev/null 2>&1 || die "ERROR: JAVA_HOME is not customizationSet and no 'java' command could be found in your PATH. + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -Please customizationSet the JAVA_HOME variable in your environment to match the +Please set the JAVA_HOME variable in your environment to match the location of your Java installation." fi @@ -93,7 +93,7 @@ if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then fi ulimit -n $MAX_FD if [ $? -ne 0 ] ; then - warn "Could not customizationSet maximum file descriptor limit: $MAX_FD" + warn "Could not set maximum file descriptor limit: $MAX_FD" fi else warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" @@ -137,16 +137,16 @@ if $cygwin ; then i=$((i+1)) done case $i in - (0) customizationSet -- ;; - (1) customizationSet -- "$args0" ;; - (2) customizationSet -- "$args0" "$args1" ;; - (3) customizationSet -- "$args0" "$args1" "$args2" ;; - (4) customizationSet -- "$args0" "$args1" "$args2" "$args3" ;; - (5) customizationSet -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - (6) customizationSet -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - (7) customizationSet -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - (8) customizationSet -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - (9) customizationSet -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; esac fi diff --git a/gradlew.bat b/gradlew.bat index e303abd07..aec99730b 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -9,38 +9,38 @@ if "%OS%"=="Windows_NT" setlocal @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -customizationSet DEFAULT_JVM_OPTS= +set DEFAULT_JVM_OPTS= -customizationSet DIRNAME=%~dp0 -if "%DIRNAME%" == "" customizationSet DIRNAME=. -customizationSet APP_BASE_NAME=%~n0 -customizationSet APP_HOME=%DIRNAME% +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% @rem Find java.exe if defined JAVA_HOME goto findJavaFromJavaHome -customizationSet JAVA_EXE=java.exe +set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 if "%ERRORLEVEL%" == "0" goto init echo. -echo ERROR: JAVA_HOME is not customizationSet and no 'java' command could be found in your PATH. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. echo. -echo Please customizationSet the JAVA_HOME variable in your environment to match the +echo Please set the JAVA_HOME variable in your environment to match the echo location of your Java installation. goto fail :findJavaFromJavaHome -customizationSet JAVA_HOME=%JAVA_HOME:"=% -customizationSet JAVA_EXE=%JAVA_HOME%/bin/java.exe +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto init echo. -echo ERROR: JAVA_HOME is customizationSet to an invalid directory: %JAVA_HOME% +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% echo. -echo Please customizationSet the JAVA_HOME variable in your environment to match the +echo Please set the JAVA_HOME variable in your environment to match the echo location of your Java installation. goto fail @@ -53,23 +53,23 @@ if "%@eval[2+2]" == "4" goto 4NT_args :win9xME_args @rem Slurp the command line arguments. -customizationSet CMD_LINE_ARGS= -customizationSet _SKIP=2 +set CMD_LINE_ARGS= +set _SKIP=2 :win9xME_args_slurp if "x%~1" == "x" goto execute -customizationSet CMD_LINE_ARGS=%* +set CMD_LINE_ARGS=%* goto execute :4NT_args @rem Get arguments from the 4NT Shell from JP Software -customizationSet CMD_LINE_ARGS=%$ +set CMD_LINE_ARGS=%$ :execute @rem Setup the command line -customizationSet CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar @rem Execute Gradle "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%