I'm trying to upgrade a maven project to kotlin 1....
# announcements
b
I'm trying to upgrade a maven project to kotlin 1.4, but it depends on a lib using kotlin 1.3 and I'm getting complaints about
Runtime JAR files in the classpath should have the same version
. Is it possible to depend on a 1.3 lib in a 1.4 project? Should I be setting the kotlin-stdlib dependencies in the 1.3 project to
compile
scope or something?
My main problem here ended up being not 'overriding' the dependency runtimes (lib had
kotlin-stdlib-jdk8
and my project just had
kotlin-stdlib
), but I'm still curious if there's anything I should to do ensure compatibility here.