title: Gradle - Could not get unknown property 'scm' for configuration container
body: <pre><code>Execution failed for task ':app:iterateDeclaredDependencies'.
  &gt; Could not get unknown property 'scm' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.
  </code></pre>
  
  <p>I'm using the exact code snippet from <a href="https://docs.gradle.org/current/userguide/working_with_dependencies.html" rel="nofollow noreferrer">Working with Dependencies</a></p>
  
  <p>I don't know what <strong>scm</strong> is here but autocompletion seems to suggests that all is good, no?
  <a href="https://i.stack.imgur.com/Rpm39.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Rpm39.png" alt="enter image description here"></a></p>
  
  <p>Versions I'm using:</p>
  
  <pre><code>------------------------------------------------------------
  Gradle 5.4.1
  ------------------------------------------------------------
  
  Build time:   2019-04-26 08:14:42 UTC
  Revision:     261d171646b36a6a28d5a19a69676cd098a4c19d
  
  Kotlin:       1.3.21
  Groovy:       2.5.4
  Ant:          Apache Ant(TM) version 1.9.13 compiled on July 10 2018
  JVM:          1.8.0_191 (Oracle Corporation 25.191-b12)
  OS:           Mac OS X 10.14.6 x86_64
  </code></pre>