fix simple deprecations with Gradle 6.0
fix simple deprecations with Gradle 6.0

not fixed: "maven" plugin replacement (will follow with other commit)

aaschmid/gradle-cpd-plugin,aaschmid/gradle-cpd-plugin