title: registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
body: <p>I have problem when build my app on android studio (java) </p>
  
  <pre><code>&gt; Configure project :app
  registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  </code></pre>
  
  <p>in gradle-wrapper.properties i jave tried </p>
  
  <pre><code>distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
  
  distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
  
  distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
  </code></pre>
  
  <p>still problem exist, when create new APP i dont see this problem </p>
  
  <p>classes and dependencies are updated to last versions</p>
  
  <p>I tried all suggestions in this <a href="https://stackoverflow.com/questions/46984770/registerresgeneratingtask-is-deprecated-use-registergeneratedfoldersfilecollec">link</a> but no help </p>