File tree 5 files changed +23
-22
lines changed
5 files changed +23
-22
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
2
// markdown doclet
3
- id ' org.jdrupes.mdoclet' version ' 1.0.3 '
3
+ id ' org.jdrupes.mdoclet' version ' 1.0.5 '
4
4
// github pages
5
- id ' org.ajoberstar.git-publish' version ' 0.3.0 '
5
+ id ' org.ajoberstar.git-publish' version ' 2.1.1 '
6
6
// spotless
7
- id ' com.diffplug.gradle.spotless' version ' 3.6.0 '
7
+ id ' com.diffplug.gradle.spotless' version ' 3.24.1 '
8
8
// bintray
9
- id ' com.jfrog.bintray' version ' 1.7.3 '
9
+ id ' com.jfrog.bintray' version ' 1.8.4 '
10
10
// publish
11
- id ' com.gradle.plugin-publish' version ' 0.9.7 '
11
+ id ' com.gradle.plugin-publish' version ' 0.10.1 '
12
12
// dependencyUpdates
13
13
id ' com.github.ben-manes.versions' version ' 0.22.0'
14
14
}
Original file line number Diff line number Diff line change 1
- # Thu Aug 31 17:48:49 PDT 2017
2
1
distributionBase =GRADLE_USER_HOME
3
2
distributionPath =wrapper/dists
4
3
zipStoreBase =GRADLE_USER_HOME
5
4
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.1 -bin.zip
5
+ distributionUrl =https\://services.gradle.org/distributions/gradle-5.6 -bin.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,11 +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
163
164
- exec " $JAVACMD " " ${JVM_OPTS[@]} " -classpath " $CLASSPATH " org.gradle.wrapper.GradleWrapperMain " $@ "
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 "
166
+
167
+ # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168
+ if [ " $( uname) " = " Darwin" ] && [ " $HOME " = " $PWD " ]; then
169
+ cd " $( dirname " $0 " ) "
170
+ fi
171
+
172
+ exec " $JAVACMD " " $@ "
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ goto fail
49
49
@ rem Get command-line arguments, handling Windows variants
50
50
51
51
if not " %OS% " == " Windows_NT" goto win9xME_args
52
- if " %@eval[2+2]" == " 4" goto 4NT_args
53
52
54
53
:win9xME_args
55
54
@ rem Slurp the command line arguments.
@@ -60,11 +59,6 @@ set _SKIP=2
60
59
if " x%~1 " == " x" goto execute
61
60
62
61
set CMD_LINE_ARGS = %*
63
- goto execute
64
-
65
- :4NT_args
66
- @ rem Get arguments from the 4NT Shell from JP Software
67
- set CMD_LINE_ARGS = %$
68
62
69
63
:execute
70
64
@ rem Setup the command line
You can’t perform that action at this time.
0 commit comments