<@U12AGS8JG> I am trying to upgrade to latest vers...
# kotest
a
@sam I am trying to upgrade to latest version of kotest but found that version 4.2.2 is not available for all the dependencies, for example
kotest-runner-console-jvm
. What will be your recommendation? Should we use 4.1.3 for all the kotest repositories ? Currently we use 4.1.0 for all of them. Thank you
m
I don’t know the specifics, but I faced similar issue and I discovered the
console
artifact has gone away completely. What do you need
console-jvm
dependency for?
a
When I tried to remove it, things failed to compile. But now I am trying again to clean build.
It was used by the plugin for Intellij @mateusz.kwiecinski
Looks like I need to do few updates
m
I linked the issue for Intellij plugin above. It seems like you just have to update the Intellij plugin to the recent version that does not require console-jvm dependency anymore
a
Doing so right now. Thing is some tests failed when I ran
mvn clean verify
. But let me first solve this plugin thing.
👍 1
tests started to fail 😞
Copy code
java.lang.NoSuchMethodError: kotlin.collections.CollectionsKt.maxOrNull
m
If I’m not mistaken
maxOrNull
was introduced in Kotlin 1.4.0 so the error message suggest you’re using older version which kotest 4.2.2 does not support anymore 🤷 Solution: Upgrade Kotlin to 1.4.0
👍 1
a
All green now. Thank you so much @mateusz.kwiecinski!!
👍 1
s
4.2.2 shouldn't use anything from 1.4
I will double check but the api version flag is set to 1.3
As for console dep. Yes gone away. On feature releases i put this info into the changelog and blog