Hello!
I read the documentation regarding kotlin 1.8 stdlib.
“If you explicitly write the Kotlin version 1.8.0 or higher in your dependencies, for example: implementation(“org.jetbrains.kotlinkotlin stdlib1.8.0"), then the Kotlin Gradle Plugin uses this Kotlin version for transitive kotlin-stdlib-jdk7 and kotlin-stdlib-jdk8 dependencies. This is for avoiding class duplication from different stdlib versions.[Learn more about merging kotlin-stdlib-jdk7 and kotlin-stdlib-jdk8 into kotlin-stdlib.”
Can someone explain how using the same version of the stdlib with transitive dependencies (stdlib 1.8 will pick up jdk7 & jdk8 with the same version) will help avoiding class duplication from different stdlib versions?
Thanks