I can set the build directory manually like following for example:
allprojects {
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
}
This can be done in my project's build.gradle
. I want to change this directory on one computer only, so I want to somehow define this globally like I for example define credentials in the Global Properties gradle.properties
file.
Can I somehow define the buildDir
globally on one machine? I want to use the same project on multiple machines and without always changing the build.gradle
file, I want to have individual build directories on each machine...