Gradle DSL method not found: 'destination()' after update to Gradle 5.2.1

前端 未结 2 1261
无人共我
无人共我 2020-12-11 01:30

After updating to Gradle 5.2.1 my build is failing with this error:

Gradle DSL method not found: \'destination()\'

I figured out that this erro

2条回答
  •  执念已碎
    2020-12-11 01:47

    All adjustment was done in my quality.gradle. Check config folder for quality.gradle file and change all usage of

    destination "$reportsDir/pmd/pmd.xml"

    to

    destination file("$reportsDir/pmd/pmd.html")

提交回复
热议问题