john990
V2EX  ›  Android

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

  •  
  •   john990 · Sep 14, 2016 · 11891 views
    This topic created in 3552 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
        1
    john990  
    OP
       Sep 14, 2016
    额。。问题解决
    mavenCentral 是不需要的。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2912 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:14 · PVG 14:14 · LAX 23:14 · JFK 02:14
    ♥ Do have faith in what you're doing.