Cleaning up a gradle warning