Permalink
Browse files

Upgrade wrapper

  • Loading branch information...
1 parent 0a8a24c commit bd35feca27101068e3f647de77b7b88f3d764d23 @zolotov zolotov committed Jun 14, 2016
Showing with 6 additions and 1 deletion.
  1. BIN gradle/wrapper/gradle-wrapper.jar
  2. +1 −1 gradle/wrapper/gradle-wrapper.properties
  3. +5 −0 gradlew
Binary file not shown.
@@ -14,7 +14,7 @@
# limitations under the License.
#
-#Tue Jun 14 22:53:38 MSK 2016
+#Wed Jun 15 00:23:32 MSK 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
View
@@ -161,4 +161,9 @@ function splitJvmOpts() {
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [[ "$(uname)" == "Darwin" ]] && [[ "$HOME" == "$PWD" ]]; then
+ cd "$(dirname "$0")"
+fi
+
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"

0 comments on commit bd35fec

Please sign in to comment.