FOOand BAR- these are just the variables defined in the file .gradle.
You can call them whatever you want.
To use this kind of syntax, you can define build.gradlesomething like:
project.ext {
firebaseVersion = '11.2.0'
supportLibraryVersion = '26.0.1'
}
build.gradle, , .
:
dependencies {
compile "com.android.support:design:$supportLibraryVersion"
compile "com.google.android.gms:play-services-auth:$firebaseVersion"
}
, FOO BAR
project.ext {
FOO = '11.2.0'
BAR = '26.0.1'
}
dependencies {
compile "com.android.support:design:$BAR"
compile "com.google.android.gms:play-services-auth:$FOO"
}