Skip to content
Permalink
Browse files

+ Added base files

  • Loading branch information...
montoyo committed Jan 26, 2018
0 parents commit 2d297478880725d8a65add6933d58d1ffe20a417
Showing with 12,796 additions and 0 deletions.
  1. +23 −0 .gitignore
  2. +56 −0 build.gradle
  3. +3 −0 gradle.properties
  4. BIN gradle/wrapper/gradle-wrapper.jar
  5. +6 −0 gradle/wrapper/gradle-wrapper.properties
  6. +164 −0 gradlew
  7. +90 −0 gradlew.bat
  8. BIN libs/mcef-1.12.2-0.9-api.jar
  9. +68 −0 src/main/java/net/montoyo/wd/SharedProxy.java
  10. +193 −0 src/main/java/net/montoyo/wd/WebDisplays.java
  11. +218 −0 src/main/java/net/montoyo/wd/block/BlockKeyboardRight.java
  12. +243 −0 src/main/java/net/montoyo/wd/block/BlockPeripheral.java
  13. +253 −0 src/main/java/net/montoyo/wd/block/BlockScreen.java
  14. +42 −0 src/main/java/net/montoyo/wd/block/WDBlock.java
  15. +46 −0 src/main/java/net/montoyo/wd/block/WDBlockContainer.java
  16. +376 −0 src/main/java/net/montoyo/wd/client/ClientProxy.java
  17. +28 −0 src/main/java/net/montoyo/wd/client/ResourceModelPair.java
  18. +24 −0 src/main/java/net/montoyo/wd/client/StaticStateMapper.java
  19. +219 −0 src/main/java/net/montoyo/wd/client/gui/GuiKeyboard.java
  20. +143 −0 src/main/java/net/montoyo/wd/client/gui/GuiMinePad.java
  21. +415 −0 src/main/java/net/montoyo/wd/client/gui/GuiScreenConfig.java
  22. +102 −0 src/main/java/net/montoyo/wd/client/gui/GuiSetURL2.java
  23. +15 −0 src/main/java/net/montoyo/wd/client/gui/GuiSubscribe.java
  24. +353 −0 src/main/java/net/montoyo/wd/client/gui/WDScreen.java
  25. +73 −0 src/main/java/net/montoyo/wd/client/gui/controls/BasicControl.java
  26. +199 −0 src/main/java/net/montoyo/wd/client/gui/controls/Button.java
  27. +120 −0 src/main/java/net/montoyo/wd/client/gui/controls/CheckBox.java
  28. +157 −0 src/main/java/net/montoyo/wd/client/gui/controls/Container.java
  29. +249 −0 src/main/java/net/montoyo/wd/client/gui/controls/Control.java
  30. +211 −0 src/main/java/net/montoyo/wd/client/gui/controls/ControlGroup.java
  31. +15 −0 src/main/java/net/montoyo/wd/client/gui/controls/Event.java
  32. +98 −0 src/main/java/net/montoyo/wd/client/gui/controls/Label.java
  33. +384 −0 src/main/java/net/montoyo/wd/client/gui/controls/List.java
  34. +281 −0 src/main/java/net/montoyo/wd/client/gui/controls/TextField.java
  35. +19 −0 src/main/java/net/montoyo/wd/client/gui/loading/FillControl.java
  36. +92 −0 src/main/java/net/montoyo/wd/client/gui/loading/GuiLoader.java
  37. +61 −0 src/main/java/net/montoyo/wd/client/gui/loading/JsonAWrapper.java
  38. +311 −0 src/main/java/net/montoyo/wd/client/gui/loading/JsonOWrapper.java
  39. +14 −0 src/main/java/net/montoyo/wd/client/renderers/IModelBaker.java
  40. +135 −0 src/main/java/net/montoyo/wd/client/renderers/MinePadRenderer.java
  41. +56 −0 src/main/java/net/montoyo/wd/client/renderers/ModelMinePad.java
  42. +139 −0 src/main/java/net/montoyo/wd/client/renderers/ScreenBaker.java
  43. +177 −0 src/main/java/net/montoyo/wd/client/renderers/ScreenRenderer.java
  44. +36 −0 src/main/java/net/montoyo/wd/core/DefaultPeripheral.java
  45. +17 −0 src/main/java/net/montoyo/wd/core/IPeripheral.java
  46. +28 −0 src/main/java/net/montoyo/wd/core/MissingPermissionException.java
  47. +20 −0 src/main/java/net/montoyo/wd/core/ScreenRights.java
  48. +22 −0 src/main/java/net/montoyo/wd/core/WDCreativeTab.java
  49. +38 −0 src/main/java/net/montoyo/wd/data/GuiData.java
  50. +55 −0 src/main/java/net/montoyo/wd/data/KeyboardData.java
  51. +87 −0 src/main/java/net/montoyo/wd/data/ScreenConfigData.java
  52. +50 −0 src/main/java/net/montoyo/wd/data/SetURLData.java
  53. +67 −0 src/main/java/net/montoyo/wd/entity/TileEntityKeyboard.java
  54. +119 −0 src/main/java/net/montoyo/wd/entity/TileEntityPeripheralBase.java
  55. +43 −0 src/main/java/net/montoyo/wd/entity/TileEntityRCtrl.java
  56. +539 −0 src/main/java/net/montoyo/wd/entity/TileEntityScreen.java
  57. +137 −0 src/main/java/net/montoyo/wd/item/ItemLinker.java
  58. +59 −0 src/main/java/net/montoyo/wd/item/ItemMinePad2.java
  59. +121 −0 src/main/java/net/montoyo/wd/item/ItemOwnershipThief.java
  60. +51 −0 src/main/java/net/montoyo/wd/item/ItemPeripheral.java
  61. +62 −0 src/main/java/net/montoyo/wd/item/ItemScreenConfigurator.java
  62. +59 −0 src/main/java/net/montoyo/wd/net/CMessageACResult.java
  63. +98 −0 src/main/java/net/montoyo/wd/net/CMessageAddScreen.java
  64. +52 −0 src/main/java/net/montoyo/wd/net/CMessageOpenGui.java
  65. +147 −0 src/main/java/net/montoyo/wd/net/CMessageScreenUpdate.java
  66. +20 −0 src/main/java/net/montoyo/wd/net/DefaultHandler.java
  67. +21 −0 src/main/java/net/montoyo/wd/net/Message.java
  68. +66 −0 src/main/java/net/montoyo/wd/net/Messages.java
  69. +89 −0 src/main/java/net/montoyo/wd/net/SMessageACQuery.java
  70. +106 −0 src/main/java/net/montoyo/wd/net/SMessagePadCtrl.java
  71. +77 −0 src/main/java/net/montoyo/wd/net/SMessageRequestTEData.java
  72. +223 −0 src/main/java/net/montoyo/wd/net/SMessageScreenCtrl.java
  73. +77 −0 src/main/java/net/montoyo/wd/utilities/AABB.java
  74. +48 −0 src/main/java/net/montoyo/wd/utilities/BlockSide.java
  75. +15 −0 src/main/java/net/montoyo/wd/utilities/DontSerialize.java
  76. +36 −0 src/main/java/net/montoyo/wd/utilities/Log.java
  77. +178 −0 src/main/java/net/montoyo/wd/utilities/Multiblock.java
  78. +72 −0 src/main/java/net/montoyo/wd/utilities/NameUUIDPair.java
  79. +224 −0 src/main/java/net/montoyo/wd/utilities/Util.java
  80. +44 −0 src/main/java/net/montoyo/wd/utilities/Vector2i.java
  81. +186 −0 src/main/java/net/montoyo/wd/utilities/Vector3f.java
  82. +228 −0 src/main/java/net/montoyo/wd/utilities/Vector3i.java
  83. +79 −0 src/main/java/net/montoyo/wd/utilities/VideoType.java
  84. +56 −0 src/main/resources/assets/mcef/html/home.html
  85. +6 −0 src/main/resources/assets/mcef/html/jquery.js
  86. +2 −0 src/main/resources/assets/mcef/html/jquery.tube.js
  87. +15 −0 src/main/resources/assets/mcef/html/test.html
  88. +1,588 −0 src/main/resources/assets/mcef/mime.types
  89. +8 −0 src/main/resources/assets/webdisplays/blockstates/keyboard.json
  90. +23 −0 src/main/resources/assets/webdisplays/blockstates/peripheral.json
  91. +6 −0 src/main/resources/assets/webdisplays/blockstates/screen.json
  92. +38 −0 src/main/resources/assets/webdisplays/gui/keyboard.json
  93. +180 −0 src/main/resources/assets/webdisplays/gui/screencfg.json
  94. +56 −0 src/main/resources/assets/webdisplays/gui/seturl.json
  95. +51 −0 src/main/resources/assets/webdisplays/lang/en_US.lang
  96. +503 −0 src/main/resources/assets/webdisplays/models/block/kb_left.json
  97. +477 −0 src/main/resources/assets/webdisplays/models/block/kb_right.json
  98. +6 −0 src/main/resources/assets/webdisplays/models/block/peripheral.json
  99. +6 −0 src/main/resources/assets/webdisplays/models/block/screen_item.json
  100. +6 −0 src/main/resources/assets/webdisplays/models/item/kb_inv.json
  101. +6 −0 src/main/resources/assets/webdisplays/models/item/linker.json
  102. +6 −0 src/main/resources/assets/webdisplays/models/item/minepad.json
  103. +6 −0 src/main/resources/assets/webdisplays/models/item/ownerthief.json
  104. +6 −0 src/main/resources/assets/webdisplays/models/item/screencfg.json
  105. +6 −0 src/main/resources/assets/webdisplays/models/item/stonekey.json
  106. +20 −0 src/main/resources/assets/webdisplays/recipes/keyboard.json
  107. +25 −0 src/main/resources/assets/webdisplays/recipes/linker.json
  108. +31 −0 src/main/resources/assets/webdisplays/recipes/minepad.json
  109. +29 −0 src/main/resources/assets/webdisplays/recipes/screen.json
  110. +22 −0 src/main/resources/assets/webdisplays/recipes/screencfg.json
  111. +13 −0 src/main/resources/assets/webdisplays/recipes/stonekey.json
  112. +16 −0 src/main/resources/assets/webdisplays/sounds.json
  113. BIN src/main/resources/assets/webdisplays/sounds/keyboard1.ogg
  114. BIN src/main/resources/assets/webdisplays/sounds/keyboard2.ogg
  115. BIN src/main/resources/assets/webdisplays/sounds/keyboard3.ogg
  116. BIN src/main/resources/assets/webdisplays/sounds/keyboard4.ogg
  117. BIN src/main/resources/assets/webdisplays/sounds/keyboard5.ogg
  118. BIN src/main/resources/assets/webdisplays/sounds/keyboard6.ogg
  119. BIN src/main/resources/assets/webdisplays/sounds/keyboard7.ogg
  120. BIN src/main/resources/assets/webdisplays/sounds/keyboard8.ogg
  121. BIN src/main/resources/assets/webdisplays/textures/blocks/interface.png
  122. BIN src/main/resources/assets/webdisplays/textures/blocks/kb_base.png
  123. BIN src/main/resources/assets/webdisplays/textures/blocks/kb_key.png
  124. BIN src/main/resources/assets/webdisplays/textures/blocks/rctrl.png
  125. BIN src/main/resources/assets/webdisplays/textures/blocks/redctrl.png
  126. BIN src/main/resources/assets/webdisplays/textures/blocks/screen0.png
  127. BIN src/main/resources/assets/webdisplays/textures/blocks/screen1.png
  128. BIN src/main/resources/assets/webdisplays/textures/blocks/screen10.png
  129. BIN src/main/resources/assets/webdisplays/textures/blocks/screen11.png
  130. BIN src/main/resources/assets/webdisplays/textures/blocks/screen12.png
  131. BIN src/main/resources/assets/webdisplays/textures/blocks/screen13.png
  132. BIN src/main/resources/assets/webdisplays/textures/blocks/screen14.png
  133. BIN src/main/resources/assets/webdisplays/textures/blocks/screen15.png
  134. BIN src/main/resources/assets/webdisplays/textures/blocks/screen2.png
  135. BIN src/main/resources/assets/webdisplays/textures/blocks/screen3.png
  136. BIN src/main/resources/assets/webdisplays/textures/blocks/screen4.png
  137. BIN src/main/resources/assets/webdisplays/textures/blocks/screen5.png
  138. BIN src/main/resources/assets/webdisplays/textures/blocks/screen6.png
  139. BIN src/main/resources/assets/webdisplays/textures/blocks/screen7.png
  140. BIN src/main/resources/assets/webdisplays/textures/blocks/screen8.png
  141. BIN src/main/resources/assets/webdisplays/textures/blocks/screen9.png
  142. BIN src/main/resources/assets/webdisplays/textures/gui/checkbox.png
  143. BIN src/main/resources/assets/webdisplays/textures/gui/checkbox_checked.png
  144. BIN src/main/resources/assets/webdisplays/textures/items/batcell.png
  145. BIN src/main/resources/assets/webdisplays/textures/items/battery.png
  146. BIN src/main/resources/assets/webdisplays/textures/items/kb_inv.png
  147. BIN src/main/resources/assets/webdisplays/textures/items/linker.png
  148. BIN src/main/resources/assets/webdisplays/textures/items/minepad.png
  149. BIN src/main/resources/assets/webdisplays/textures/items/ownerthief.png
  150. BIN src/main/resources/assets/webdisplays/textures/items/pigeon.png
  151. BIN src/main/resources/assets/webdisplays/textures/items/screencfg.png
  152. BIN src/main/resources/assets/webdisplays/textures/items/stonekey.png
  153. BIN src/main/resources/assets/webdisplays/textures/models/minepad.png
  154. +16 −0 src/main/resources/mcmod.info
@@ -0,0 +1,23 @@
# eclipse
bin
*.launch
.settings
.metadata
.classpath
.project

# idea
out
*.ipr
*.iws
*.iml
.idea

# gradle
build
.gradle

# other
eclipse
run
/_OLD
@@ -0,0 +1,56 @@
buildscript {
repositories {
jcenter()
maven { url = "http://files.minecraftforge.net/maven" }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.


version = "1.12.2-1.0"
group = "net.montoyo.wd" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "webdisplays"

sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
compileJava {
sourceCompatibility = targetCompatibility = '1.8'
}

minecraft {
version = "1.12.2-14.23.1.2555"
runDir = "run"

// the mappings can be changed at any time, and must be in the following format.
// snapshot_YYYYMMDD snapshot are built nightly.
// stable_# stables are built at the discretion of the MCP team.
// Use non-default mappings at your own risk. they may not always work.
// simply re-run your setup task after changing the mappings to update your workspace.
mappings = "snapshot_20171003"
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
}

dependencies {
}

processResources {
// this will ensure that this task is redone when the versions change.
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version

// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'

// replace version and mcversion
expand 'version':project.version, 'mcversion':project.minecraft.version
}

// copy everything else except the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
@@ -0,0 +1,3 @@
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G
Binary file not shown.
@@ -0,0 +1,6 @@
#Mon Sep 14 12:28:28 PDT 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-bin.zip
164 gradlew
@@ -0,0 +1,164 @@
#!/usr/bin/env bash

##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""

APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"

warn ( ) {
echo "$*"
}

die ( ) {
echo
echo "$*"
echo
exit 1
}

# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
esac

# For Cygwin, ensure paths are in UNIX format before anything is touched.
if $cygwin ; then
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
fi

# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >&-
APP_HOME="`pwd -P`"
cd "$SAVED" >&-

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar

# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi

# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi

# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi

# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`

# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option

if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(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

# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
function splitJvmOpts() {
JVM_OPTS=("$@")
}
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"

exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
@@ -0,0 +1,90 @@
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################

@rem Set local scope for the variables with windows NT shell
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.
set DEFAULT_JVM_OPTS=

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

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:findJavaFromJavaHome
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 set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:init
@rem Get command-line arguments, handling Windowz variants

if not "%OS%" == "Windows_NT" goto win9xME_args
if "%@eval[2+2]" == "4" goto 4NT_args

:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2

:win9xME_args_slurp
if "x%~1" == "x" goto execute

set CMD_LINE_ARGS=%*
goto execute

:4NT_args
@rem Get arguments from the 4NT Shell from JP Software
set CMD_LINE_ARGS=%$

:execute
@rem Setup the command line

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%

:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd

:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1

:mainEnd
if "%OS%"=="Windows_NT" endlocal

:omega
Binary file not shown.

0 comments on commit 2d29747

Please sign in to comment.
You can’t perform that action at this time.