I would like to setup a global gradle build dir that points to a ramdisk.
I've tried numerous ways of setting up the build dir in my global gradle.properties
file located at ~/.gradle/gradle.properties
.
The issue I'm facing is that gradle does not evaluate the variables/relative-expressions that are included in the buildDir
config.
How do I setup a global build dir that takes care of project specific subfolders?
gradle.projectsLoaded {
rootProject.allprojects {
buildDir=~/.gradle/build/${rootProject.name}/${project.name}
}
}