title: Gradle :Could not create service of type FileHasher
body: <p>I'm using Gradle to build a java project. 
  When I run any task (assemble, test).
  I get randomly an error :</p>
  
  <pre><code>Could not create service of type FileHasher using 
  GradleUserHomeScopeServices.createCachingFileHasher()
  </code></pre>
  
  <p>Did any one had the same issue before? </p>
  
  <p>Gradle V:3.5</p>
  
  <p>java 8</p>
  
  <p>I'm using the java plugin.</p>
  
  <p>Thanks,</p>