This Gradle plugin finds duplicate code using PMDs copy/paste detection called CPD.