title: Cannot access 'kotlin.collections.Collection' which is a supertype of 'org.gradle.api.artifacts.dsl.RepositoryHandler'
body: <p><a href="https://i.stack.imgur.com/jOHfH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jOHfH.png" alt="enter image description here" /></a></p>
  <p>I got the above error after i add <code>Plugins{ `kotlin`}</code> to my build.gradle.kts file.</p>
  <p>I have Google this problem and rebuild after delete all .gradle、.idea dir, but this problem still occurs. Additionally, i tried invalidate caches, but not work.</p>
  <p>Any ideas for this problem?</p>