Now I installed gradle via gvmtool and I running gradle build directly rather then run it by the wrapper, and same thing happend. If I remove the folder “?”, gradle is creating the folder again and put all the project dependencies there. I check the build.gradle file if there is some setting related to this, but found anything.
Now my GRADLE_USER_HOME is: ~/.gvm/gradle/current
The .gradle folder was created into the folder “?”
Here I put part of the gradles log
Unzipping /home/projects/webRest/?/.gradle/wrapper/dists/gradle-2.3-all/65cghn432lqt7oeaej42642hdj/gradle-2.3-all.zip to /home/projects/webRest/?/.gradle/wrapper/dists/gradle-2.3-all/65cghn432lqt7oeaej42642hdj
Set executable permissions for: /home/projects/webRest/?/.gradle/wrapper/dists/gradle-2.3-all/65cghn432lqt7oeaej42642hdj/gradle-2.3/bin/gradle
As you can see gradle is being unziped into folder “?”, that, at the same time exists into the application folder which is webRest