From 87ee693a49970c840c4c4d592d2853a32eca713c Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 22 Feb 2016 23:30:49 -0500 Subject: [PATCH] Fix small Gradle things. --- Sponge/build.gradle | 2 -- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 4 ++-- gradlew | 10 +++++++--- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Sponge/build.gradle b/Sponge/build.gradle index cec7245b7..7518bdbe9 100644 --- a/Sponge/build.gradle +++ b/Sponge/build.gradle @@ -34,8 +34,6 @@ repositories { } } -version = "3.2.27" - minecraft { version = "1.8.9-11.15.1.1742" mappings = "snapshot_20160204" diff --git a/build.gradle b/build.gradle index 3a10bb028..f6ca60352 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ buildscript { } } group = 'com.intellectualcrafters' -version = '3.2.27' +version = '3.3.0' description = """PlotSquared""" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 028492f28..d9735ac74 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Mon Feb 22 21:55:23 EST 2016 +#Mon Feb 22 23:29:29 EST 2016 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.11-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip diff --git a/gradlew b/gradlew index 9d82f7891..91a7e269e 100644 --- a/gradlew +++ b/gradlew @@ -42,6 +42,11 @@ case "`uname`" in ;; 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" @@ -56,9 +61,9 @@ while [ -h "$PRG" ] ; do fi done SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null +cd "`dirname \"$PRG\"`/" >&- APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null +cd "$SAVED" >&- CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar @@ -109,7 +114,6 @@ fi if $cygwin ; then APP_HOME=`cygpath --path --mixed "$APP_HOME"` CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - JAVACMD=`cygpath --unix "$JAVACMD"` # We build the pattern for arguments to be converted via cygpath ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`