【发布时间】:2018-03-13 11:55:12
【问题描述】:
在我更新 android studio 之前,Android sonarqube 一直有效。现在它给出了一个错误
FAILURE: Build failed with an exception.
* What went wrong:
com.android.build.gradle.api.ApkVariant.getCompileLibraries()Ljava/util/Collection;
我认为发生这种情况是因为 gradle 依赖语法从 'compile' 更改为 'implementation',如下所示在最新的 android 版本中。
来自
dependencies {
compile ........
compile ........
}
到
dependencies {
implementation ........
implementation ........
}
谁能帮我为新的android版本配置sonarqube
【问题讨论】:
标签: android android-studio android-gradle-plugin sonarqube kotlin