Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Jenkins生成失败,无法确定任务';的依赖项:条纹:勾选';_Android_Jenkins_Kotlin_Jenkins Plugins_Stripe Payments - Fatal编程技术网

Android Jenkins生成失败,无法确定任务';的依赖项:条纹:勾选';

Android Jenkins生成失败,无法确定任务';的依赖项:条纹:勾选';,android,jenkins,kotlin,jenkins-plugins,stripe-payments,Android,Jenkins,Kotlin,Jenkins Plugins,Stripe Payments,我曾试图用Jenkins构建一个android apk,但我被一条失败消息困住了- app: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'com.android.databinding:compiler:3.1.0'.

我曾试图用Jenkins构建一个android apk,但我被一条失败消息困住了-

app: 'annotationProcessor' dependencies won't be recognized as kapt annotation 
    processors. Please change the configuration name to 'kapt' for these artifacts: 
'com.android.databinding:compiler:3.1.0'.

FAILURE: Build failed with an exception.

What went wrong:
Could not determine the dependencies of task ':stripe:check'.
 Task with path 'checkstyle' not found in project ':stripe'.
我在我的项目中添加了第三方模块条带,应用程序级别的gradle文件条目为-

implementation project(':stripe')
我不知道发生了什么事,詹金斯一直在失败

注意-下面是我的条纹的渐变文件-

apply plugin: 'com.android.library'
apply plugin: 'checkstyle'
// make sure this line comes *after* you apply the Android plugin
apply plugin: 'com.getkeepsafe.dexcount'

assemble.dependsOn('lint')
check.dependsOn('checkstyle')

您使用的是kotlin编译器,在kotlin中,我们使用“kapt”而不是“annotationProcessor”。检查您的“条纹”项目,并相应地更改渐变

从stripe的gradle中删除下一行并将所有应用程序:“annotationProcessor”依赖项替换为kapt后,Jenkins成功生成了构建

check.dependsOn('checkstyle')

在我使用annotationProcessor之前,在警告之后,我将其从gradle文件中删除。但问题依然存在。