We decided to use GitHub as our version control. I know the Gradle build scripts use certain paths, such as the Android SDK path in the
Is this correct?
No, because IMHO
local.properties should not be in your Git repo. The standard Android Studio
.gitignore file (created when you create the project) has
local.properties, meaning that
local.properties would not be committed to your repo.
As Doug Stevenson points out in a comment,
local.properties is generated when you import a project. It will be driven by Android Studio settings.
can we all make an environment variable called something like ANDROID_SDK and use that for the sdk.dir in the local.properties?
Not for use with Android Studio, at least the last I tried it. For command-line Gradle builds, that works fine, but Android Studio does not pass the environment to its forked Gradle process.