Are there any buildscript lifecycle events that I can hook to set up a property value that is used in a dependencies/classpath entry inside the buildscript block itself ?
Currently I am using an init script that checks out/pulls a properties file from a git repo and then reads the properties file from file using apply from: inside the buildscript block. I’d prefer something more tightly coupled to the life cycle if possible.
More broadly, I am looking for a pattern than allows me to store common properties in a git repo and consume them by multiple gradle projects in a tightly integrated manner. For example, lets say I have 6 separate gradle microservices projects all using Spring Boot and I want to be able to upgrade the Boot version across all 6 services through a single git repo update of a properties file.
Thanks,