I noticed that if you specify the installDir path with spaces for the VisualCpp tool chain, a java.net.URISyntaxException is thrown when running that script on Linux.
Steps to Reproduce
- Take the
samples/native-binaries/tool-chains/build.gradle
sample file, and uncomment the// installDir "C:/Apps/Microsoft Visual Studio 10.0"
line. - Run that gradle script on a Linux machine
- You will receive the error message
java.net.URISyntaxException: Illegal character in path at index 17: C:/Apps/Microsoft Visual Studio 10.0
I noticed this running Gradle 2.3 on a CentOS 6.5 32-bit machine.