I'm looking at the Hello World build.gradle file. https://github.com/JetBrains/kotlin-examples/blob/master/gradle/hello-world/build.gradle I noticed that repositories and dependencies are listed twice, once in the buildScript and once in the root. Is there any documentation for why there are two? When I want to add a new dependency, does it need to go in one or both?
a
andyb
06/15/2017, 7:38 PM
daveroberts: Hi Dave, I believe that the first set of repositories are the sources of the gradle plugins used by the build script and the 2nd are the source of the libraries used by the classes in the application.