Move code quality settings to a new gradle script