I develop locally in a Windows PC and I have my build machine in OSX and or Linux. Since some of the files have over 255 characters I changed my build path like this:
buildDir = "C:/tmp/${rootProject.name}/${project.name}"
Now this won't work in any UNIX system. How can I make it dynamic so it works in Windows, OSX and Linux? I am trying to find a variable but I dont have that much experience in gradle.