SonarQube 与 Gradle 7.0 不兼容

SonarQube incompatible with Gradle 7.0

我 运行宁 SonarQube Gradle 版本 3.0 与 Gradle 6.7.1, 当我 运行 gradle sonarqube 我有一个Gradle失败::

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

App/build.gradle :

apply plugin: 'org.sonarqube'

build.gradle :

buildscript {

    ...

    dependencies {
        ...
        classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.0" // Added for SonarQube
    }
}

allprojects {
    repositories {
        ...
        maven {
            url "https://plugins.gradle.org/m2/" // Added for SonarQube
        }
    }
}

gradle-wrapper.properties :

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip

[更新]2020 年 12 月 26 日

我已经尝试使用 gradle-6.7.1 但 SonarQube 仍然与 Gradle 7.0 不兼容,或者我使用 Codacy to get feedback on code. *By default Android can use Lint