File tree 4 files changed +20
-17
lines changed
4 files changed +20
-17
lines changed Original file line number Diff line number Diff line change
1
+ plugins {
2
+ id ' com.github.ben-manes.versions' version ' 0.20.0'
3
+ }
4
+
1
5
apply plugin : ' java'
2
6
3
7
sourceCompatibility = 1.8
@@ -10,7 +14,8 @@ repositories {
10
14
11
15
dependencies {
12
16
testCompile ' io.reactivex:rxjava:1.2.2'
13
- testCompile ' io.reactivex:rxnetty-http:0.5.2-rc.4'
17
+ testCompile ' io.reactivex:rxnetty-http:0.5.2'
18
+ testCompile ' io.netty:netty-all:4.1.32.Final'
14
19
testCompile ' com.netflix.hystrix:hystrix-core:1.5.8'
15
20
testCompile ' com.netflix.hystrix:hystrix-metrics-event-stream:1.5.8'
16
21
@@ -55,7 +60,3 @@ dependencies {
55
60
testCompile ' org.assertj:assertj-core:3.5.2'
56
61
testCompile ' org.mockito:mockito-core:2.2.15'
57
62
}
58
-
59
- task wrapper (type : Wrapper ) {
60
- gradleVersion = ' 3.1'
61
- }
Original file line number Diff line number Diff line change 1
- # Sat Nov 19 14:44:58 CET 2016
2
1
distributionBase =GRADLE_USER_HOME
3
2
distributionPath =wrapper/dists
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.10-bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-3.1-all.zip
Original file line number Diff line number Diff line change 1
- #! /usr/bin/env bash
1
+ #! /usr/bin/env sh
2
2
3
3
# #############################################################################
4
4
# #
@@ -33,11 +33,11 @@ DEFAULT_JVM_OPTS=""
33
33
# Use the maximum available, or set MAX_FD != -1 to use that value.
34
34
MAX_FD=" maximum"
35
35
36
- warn ( ) {
36
+ warn () {
37
37
echo " $* "
38
38
}
39
39
40
- die ( ) {
40
+ die () {
41
41
echo
42
42
echo " $* "
43
43
echo
@@ -154,16 +154,19 @@ if $cygwin ; then
154
154
esac
155
155
fi
156
156
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 " "
160
161
}
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 "
163
166
164
167
# 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
166
169
cd " $( dirname " $0 " ) "
167
170
fi
168
171
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