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
All adjustment was done in my quality.gradle. Check config folder for quality.gradle file and change all usage of
quality.gradle
destination "$reportsDir/pmd/pmd.xml"
to
destination file("$reportsDir/pmd/pmd.html")