1️⃣st issue of @aalmiray's ✉️ newsletter.
Andres' discusses Gradle's project dynamic properties :
A Project can also have dynamic properties which can be defined in 4 ways:
- a file named gradle.properties, local to the project.
- a file named gradle.properties, available to all projects at ~/.gradle/ (%USER_HOME%/.gradle on Windows).
- on the command line using the -P flag.
- using the ext block inside the build file.
Moreover, he helps to understand script variable access.
a method defined on a script is the same as any other method defined anywhere else, that is, methods don’t understand the concept of owner and delegate, thus it can’t reach out into the script’s variables.