how to fix Duplicate class org.intellij.lang.annotations code example
Example: Duplicate class org.intellij.lang.annotations.
configurations {
cleanedAnnotations
compile.exclude group: 'org.jetbrains' , module:'annotations'
}