summaryrefslogtreecommitdiff
path: root/vdrmanager
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2017-03-15 10:08:42 +0100
committerlado <herrlado@gmail.com>2017-03-15 10:08:42 +0100
commiteda7d9286752df5e6f157c157c3fac0683bf1ba0 (patch)
tree5e3ab3ea8d5c5e4cd1ba60cc86d054f5f3109cf0 /vdrmanager
parent5a379415c2d47533d5548c97d44d024234b45542 (diff)
downloadvdr-manager-eda7d9286752df5e6f157c157c3fac0683bf1ba0.tar.gz
vdr-manager-eda7d9286752df5e6f157c157c3fac0683bf1ba0.tar.bz2
fix gradle
Diffstat (limited to 'vdrmanager')
-rw-r--r--vdrmanager/build.gradle21
-rwxr-xr-xvdrmanager/gradlew10
2 files changed, 24 insertions, 7 deletions
diff --git a/vdrmanager/build.gradle b/vdrmanager/build.gradle
new file mode 100644
index 0000000..420fcdb
--- /dev/null
+++ b/vdrmanager/build.gradle
@@ -0,0 +1,21 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+buildscript {
+ repositories {
+ jcenter()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:2.1.0'
+ }
+}
+
+allprojects {
+ repositories {
+ maven {
+ url "http://www.hampelratte.org/maven/snapshots"
+ }
+ maven {
+ url "http://www.hampelratte.org/maven/releases"
+ }
+ jcenter()
+ }
+}
diff --git a/vdrmanager/gradlew b/vdrmanager/gradlew
index 91a7e26..9d82f78 100755
--- a/vdrmanager/gradlew
+++ b/vdrmanager/gradlew
@@ -42,11 +42,6 @@ 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"
@@ -61,9 +56,9 @@ while [ -h "$PRG" ] ; do
fi
done
SAVED="`pwd`"
-cd "`dirname \"$PRG\"`/" >&-
+cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
-cd "$SAVED" >&-
+cd "$SAVED" >/dev/null
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
@@ -114,6 +109,7 @@ 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`