
项目里有 jcenter 和 mavenCenter 的依赖, jenkins 不知道为什么从 maven 里面找 google service. 项目配置如下:
allprojects { repositories { jcenter() maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } maven { url "https://jitpack.io" } flatDir { dirs 'libs' } mavenCentral() } }