Build should be overhauled to be aligned with more modern gradle concepts. This is basically what has happened in all spring projects using gradle. Essentially moving away from plain full dsl's in favour of buildSrc.