Has gradle some form of a global `settings.gradle`...
# gradle
p
Has gradle some form of a global
settings.gradle
file? I want to change the buildCache dir for all projects (but don't want to add it to the project's
settings.gradle
because its completely specific to my build setup
o
p
I tried that but it didn't work
Copy code
Could not find method buildCache() for arguments [init_495f3zuch6b4h9iatm4zb5q9o$_run_closure1@44004ee] on build of type org.gradle.invocation.DefaultGradle.
o
yea, it runs delegating to a
Gradle
object, not a
Settings
. You'd need to acquire that first using
void settingsEvaluated(Action<? super Settings> action)
, then you can write inside that closure as if you were writing in
settings.gradle
p
That worked, thanks!