File tree Expand file tree Collapse file tree 4 files changed +18
-16
lines changed Expand file tree Collapse file tree 4 files changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ sourceCompatibility = 1.7
2121targetCompatibility = 1.7
2222
2323dependencies {
24- compile " org.embulk:embulk-core:0.8.+ "
25- provided " org.embulk:embulk-core:0.8.+ "
24+ compile " org.embulk:embulk-core:0.8.38 "
25+ provided " org.embulk:embulk-core:0.8.38 "
2626 // compile "YOUR_JAR_DEPENDENCY_GROUP:YOUR_JAR_DEPENDENCY_MODULE:YOUR_JAR_DEPENDENCY_VERSION"
2727 compile ' org.apache.hadoop:hadoop-client:2.6.0'
2828 compile ' com.google.guava:guava:15.0'
2929 testCompile " junit:junit:4.+"
30- testCompile " org.embulk:embulk-core:0.8.+ :tests"
31- testCompile " org.embulk:embulk-standards:0.8.+ "
30+ testCompile " org.embulk:embulk-core:0.8.38 :tests"
31+ testCompile " org.embulk:embulk-standards:0.8.38 "
3232}
3333
3434task classpath (type : Copy , dependsOn : [" jar" ]) {
Original file line number Diff line number Diff line change 1- # Sun Jan 08 00:35:58 PST 2017
21distributionBase =GRADLE_USER_HOME
32distributionPath =wrapper/dists
43zipStoreBase =GRADLE_USER_HOME
54zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-3.2 .1-bin.zip
5+ distributionUrl =https\://services.gradle.org/distributions/gradle-4 .1-bin.zip
Original file line number Diff line number Diff line change 1- #! /usr/bin/env bash
1+ #! /usr/bin/env sh
22
33# #############################################################################
44# #
@@ -33,11 +33,11 @@ DEFAULT_JVM_OPTS=""
3333# Use the maximum available, or set MAX_FD != -1 to use that value.
3434MAX_FD=" maximum"
3535
36- warn ( ) {
36+ warn () {
3737 echo " $* "
3838}
3939
40- die ( ) {
40+ die () {
4141 echo
4242 echo " $* "
4343 echo
@@ -154,16 +154,19 @@ if $cygwin ; then
154154 esac
155155fi
156156
157- # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
158- function splitJvmOpts() {
159- JVM_OPTS=(" $@ " )
157+ # Escape application args
158+ save () {
159+ for i do printf %s\\ n " $i " | sed " s/'/'\\\\ ''/g;1s/^/'/;\$ s/\$ /' \\\\ /" ; done
160+ echo " "
160161}
161- eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162- JVM_OPTS[${# JVM_OPTS[*]} ]=" -Dorg.gradle.appname=$APP_BASE_NAME "
162+ APP_ARGS=$( save " $@ " )
163+
164+ # Collect all arguments for the java command, following the shell quoting and substitution rules
165+ eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS " \" -Dorg.gradle.appname=$APP_BASE_NAME \" " -classpath " \" $CLASSPATH \" " org.gradle.wrapper.GradleWrapperMain " $APP_ARGS "
163166
164167# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
165- if [[ " $( uname) " == " Darwin" ]] && [[ " $HOME " == " $PWD " ] ]; then
168+ if [ " $( uname) " = " Darwin" ] && [ " $HOME " = " $PWD " ]; then
166169 cd " $( dirname " $0 " ) "
167170fi
168171
169- exec " $JAVACMD " " ${JVM_OPTS[@]} " -classpath " $CLASSPATH " org.gradle.wrapper.GradleWrapperMain " $ @"
172+ exec " $JAVACMD " " $@ "
You can’t perform that action at this time.
0 commit comments