refactoring quality plugin out from the gradle build file