admin管理员组

文章数量:1635843

项目中用到了sonarqube检查,单独放在了一个gradle文件中,里边用到了

xml {
    destination "$project.buildDir/reports/pmd/pmd.xml"
}
html {
    destination "$project.buildDir/reports/pmd/pmd.html"
}

在Gradle 5.x后,必须使用setDestination(File file)这种来设置, (具体参考 setDestination(File file) )。

领参考:https://stackoverflow/questions/54671249/gradle-dsl-method-not-found-destination-after-update-to-gradle-5-2-1

本文标签: 升级到报错Gradlemethoddsl