john990
V2EX  ›  Android

Jenkins 怎么构建包含 google service 的 Android 项目?

  •  
  •   john990 · Sep 14, 2016 · 12569 views
    This topic created in 3718 days ago, the information mentioned may be changed or developed.

    项目里有 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()
        }
    }
    
    john990
    john990
    OP
    Sep 14, 2016
    1
    额。。问题解决
    mavenCentral 是不需要的。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1093 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 18:19 · PVG 02:19 · LAX 10:19 · JFK 13:19
    ♥ Do have faith in what you're doing.