Clone
Jendrik Johannes
committed
on 16 Nov 16
Allow double quotes to be used inside start script arguments
The new argument handling in start scripts introduced with Gradle 3.2
(#621) us… Show more
Allow double quotes to be used inside start script arguments

The new argument handling in start scripts introduced with Gradle 3.2

(#621) uses double quotes (") to escape arguments. This breaks the usage

of double quotes inside of an argument. E.g.: `'-DFOO="bar < baz"'`

This is fixed by checking if either (") or (') is already used and

using the corresponding other character for escaping. The solution is

adopted from: www.etalabs.net/sh_tricks.html (Working with arrays)

Issue: #865

Show less

master + 425 more