title: Gradle build process is failing
body: <p>My project was successfully building and all of a sudden I got the below error in Android studio.</p>
  
  <p><strong>Unable to find method 'org.gradle.api.publish.maven.internal.publication.MavenPublicationInternal.getPublishableFiles()Lorg/gradle/api/file/FileCollection;'.
  Possible causes for this unexpected error include:
  Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
  Re-download dependencies and sync project (requires network)
  The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
  Stop Gradle build processes (requires restart)
  Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
  In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.</strong></p>
  
  <p>I tried clearing the local dependency cache and rebuilding the project. But still the error persists.
  I am using android studio v4.0 with build tools v29.0.2.</p>
  
  <p>Is it because gradle can't download the dependency from maven repo?
  Is it because there is an error in configuring maven in my 'respositories' list?
  How can I get more information on this error?</p>