Fix gradle warnings 'mavenRepo() has been deprecated'