How can I tell what directory my root build.gradle is in?
I need to produce an absolute path for certain reasons & the source tree can be checked out in different places by developers.
How can I tell what directory my root build.gradle is in?
I need to produce an absolute path for certain reasons & the source tree can be checked out in different places by developers.
How about rootProject.buildscript.sourceFile.parent?
println rootDir
Thanks guys!