GRADLE-2171: Added fail and warn strategies to DuplicatesStrategy