Kotlin gradle.build ZipException because of duplicates

@praveenpro It looks like you have class org.intellij.lang.annotations.Flow coming from several jars. One of them is coming from org.jetbrains:annotations maven artifact which is a transitive dependency of org.jetbrains.kotlin:kotlin-stdlib-jre7 and to find the other, you can run gradlew dependency to show the dependency graph of your project.
Then you may want to exclude one of the conflicting artifacts: java - How do I exclude all instances of a transitive dependency when using Gradle? - Stack Overflow

1 Like