On a multi-project gradle build, can someone tell me what exactly is the difference between the "allprojects" section and the "buildscript" one? Both have a repositories
and dependencies
task. Is allprojects
for my project? What about buildscript
?
buildscript {
repositories {
...
}
dependencies {
...
}
}
and
allprojects(subprojects) {
repositories {
...
}
dependencies {
...
}
}