Is it possible to read arbitrary variables from settings.gradle
in build.gradle
?
Currently my settings.gradle
is only setting the project name. This seems like a reasonable place to add some other constants that are likely to only be touched once during the project lifecycle.
I know I can create a gradle.properties
file and set properties there, but it feels weird splitting my constants across two locations when my settings.gradle
file is so short anyway.