Polish lambda expressions usage from buildSrc
module and remove associated compiler and sonar warnings.
Comment From: bclozel
Sorry but we're fine the way things are. We don't use Sonar in our build and our style checks are happy with this part of the codebase.