title: Could not resolve all files for configuration :compileClasspath
body: <p>I have a problem with building a gradle java project when I run the command<code>./gradlew build</code> I get the error in the screenshot below. I have spent several hours trying all the ways I could find here on SO but none of them worked (so don't mark this as duplicate) all the answers seem to be about proxies but I'm not using any proxies in the gradle.properties file and I could also access the urls from the logs in my browser and they work just fine.
  Thank you in advance</p>
  
  <p><a href="https://i.stack.imgur.com/IAFEE.png" rel="nofollow noreferrer">https://i.stack.imgur.com/IAFEE.png</a></p>
  
  <p>Here's my build.gradle
  <a href="https://i.stack.imgur.com/HaoLG.png" rel="nofollow noreferrer">https://i.stack.imgur.com/HaoLG.png</a></p>
  
  <p>NOTE: As you can see I'm running gradle on my phone yes I know that's not the best idea but I know for sure this problem is not related to this.</p>