Gradle buildscript dependencies

What is the difference between declaring repositories in the buildscript section of the gradle build or in the root level of the build.

buildscript {
    repositories {
        mavenCentral();
    }
}

versus

repositories {
    mavenCentral();
}

2 Answers
2

Leave a Comment