1 @rem
2 @rem Copyright 2015 the original author or authors.
3 @rem
6 @rem You may obtain a copy of the License at
7 @rem
9 @rem
10 @rem Unless required by applicable law or agreed to in writing, software
12 @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 @rem See the License for the specific language governing permissions and
14 @rem limitations under the License.
15 @rem
18 @rem ##########################################################################
19 @rem
20 @rem Gradle startup script for Windows
21 @rem
22 @rem ##########################################################################
32 @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
35 @rem Find java.exe
42 echo.
44 echo.
46 echo location of your Java installation.
48 goto fail
50 :findJavaFromJavaHome
56 echo.
58 echo.
59 echo Please set the JAVA_HOME variable in your environment to match the
60 echo location of your Java installation.
62 goto fail
64 :init
65 @rem Get command-line arguments, handling Windows variants
69 :win9xME_args
70 @rem Slurp the command line arguments.
71 set CMD_LINE_ARGS=
72 set _SKIP=2
74 :win9xME_args_slurp
77 set CMD_LINE_ARGS=%*
79 :execute
80 @rem Setup the command line
84 @rem Execute Gradle
85 "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
87 :end
88 @rem End local scope for the variables with windows NT shell
91 :fail
92 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
93 rem the _cmd.exe /c_ return code!
95 exit /b 1
97 :mainEnd
100 :omega