Android 在gitlab(gradle)中构建提交失败

Android 在gitlab(gradle)中构建提交失败,android,gradle,gitlab,build.gradle,gitlab-ci,Android,Gradle,Gitlab,Build.gradle,Gitlab Ci,当我提交更改并将其推送到gitlab时,程序集会出现错误: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':somebible-id-client-app'. > Could not resolve all dependencies for configuration ': somebible-id-client-app:_second

当我提交更改并将其推送到gitlab时,程序集会出现错误:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':somebible-id-client-app'.
> Could not resolve all dependencies for configuration ': somebible-id-client-app:_secondaryDebugApkCopy'.
   > Could not resolve ru.somebible.android:statistic:0.0.5.
     Required by:
         project :somebible-id-client-app
      > Skipped due to earlier error

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 22s
ERROR: Job failed: exit code 1 
我的身材。格雷德尔:

buildscript {
    repositories {
        mavenCentral()
        maven {
            url 'http://jenkins01.mobile.somebible.ru:7700/nexus/content/repositories/somebible-internal/'
        }
        google()
        jcenter()
        maven { url "https://jitpack.io" }
    }
    dependencies {
        classpath 'me.tatarka:gradle-retrolambda:3.2.5'
    }
}

repositories {
    mavenCentral()
    maven {
        url 'http://jenkins01.mobile.somebible.ru:7700/nexus/content/repositories/somebible-internal/'
    }
    google()
    jcenter()
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'idea'

idea {
    module {
        downloadJavadoc = true
        downloadSources = true
    }
}

android {
    compileSdkVersion 25
    buildToolsVersion '25.0.3'

    defaultConfig {
        applicationId "ru.somebible.somebibleidclientapp"
        minSdkVersion 15
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        debug {
            useProguard false
        }
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
        prod {
            resValue "string", "app_name", "Id Client App"
        }
        secondary {
            applicationId "ru.somebible.somebibleidclientappsecondary"
            resValue "string", "app_name", "Id Client Secondary App"
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    lintOptions {
        abortOnError false
    }

    dependencies {
        ext.support_version = '25.3.1'

        compile fileTree(include: ['*.jar'], dir: 'libs')

        compile project(':somebible-id')
        apt 'com.jakewharton:butterknife-compiler:8.0.1'
        compile "com.android.support:appcompat-v7:$ext.support_version"
        compile "com.android.support:design:$ext.support_version"
        compile 'com.jakewharton:butterknife:8.0.1'
        compile 'io.reactivex:rxjava:1.1.3'
        compile 'io.reactivex:rxandroid:1.1.0'
        compile 'com.hannesdorfmann.mosby:mvp:2.0.1'
        compile 'com.annimon:stream:1.1.2'
        compile 'com.squareup.picasso:picasso:2.5.2'

        compile 'ru.somebible.android:statistic:0.0.5'

        testCompile 'junit:junit:4.12'
    }
}
dependencies {
    compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
最重要的是,即使没有前缀ApkCopy,也没有这样的过程。也就是说,看看什么问题在本地是不可能的,因为本地没有这样的过程,本地一切都正常。请往正确的方向走


谢谢你的回答

Gradle正在尝试下载工件
ru.somebible.android:statistic
,但由于在任何已知工件存储库中都找不到,因此未能下载。我假设工件是在这个存储库中发布的:
'http://jenkins01.mobile.somebible.ru:7700/nexus/content/repositories/somebible-内部/'


在这种情况下,请确保您的构建机器可以访问此存储库,并确保该工件可以在该存储库中找到。

谢谢!你的猜测是对的。我的同事们破坏了藏书的地方。。