Can we include the Gradle Building command that you mentioned, on readme.txt 

-------------------------------------------------------------------------------
BUILDING
-------------------------------------------------------------------------------

Please read the "Building from Source" page at
http://static.springframework.org/spring-security/site/.

*** Changes suggested : 
For Gradle build purpose ,please run this command from terminal
   ./gradlew clean build --refresh-dependencies