title: Gradle Artifactory and space in name
body: <p>I am having an artifact published with space in Artifactory. We have the POM published as well. Reference getting is:</p>
  
  <p><code>compile group: 'com.local', name: "Artifact Name", version: '1.3'</code></p>
  
  <p>If I get this, I got error below. If I put the <code>Artifact%20Name</code> then I got problem with 
  <code>org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.MetaDataParseException: inconsistent module metadata found. Descriptor: com.local:Artifact Name:1.3 Errors: bad module name: expected='Artifact%20Name' found='Artifact Name'</code></p>
  
  <p>Is there a way that gradle can just replace the space with <code>%20</code> to prevent the illegal character?</p>
  
  <hr>
  
  <pre><code>... 209 more
  Caused by: java.lang.IllegalArgumentException: Illegal character in path at index 81: http://artifactory:8081/artifactory/repos/com/local/Artifact Name/1.3/Artifact Name-
  1.3.pom
          at java.net.URI.create(URI.java:859)
          at org.apache.http.client.methods.HttpGet.&lt;init&gt;(HttpGet.java:69)
          at org.gradle.api.internal.externalresource.transport.http.HttpClientHelper.performRawGet(HttpClientHelper.java:66)
          at org.gradle.api.internal.externalresource.transport.http.HttpClientHelper.performGet(HttpClientHelper.java:70)
          at org.gradle.api.internal.externalresource.transport.http.HttpResourceAccessor.getResource(HttpResourceAccessor.java:46)  
  </code></pre>