Related #9986
Context
For each version of Spring Security to be able to point to the right Spring Security Samples branch, we should introduce a new property in gradle.properties called samplesBranch. This property then would be used in our links computing to prevent broken links.