Your app would end up using the highest stdlib version out of all your dependencies, which would be
1.7.0
. Normally, this won't be an issue, but it's caused me problems before.
Javalin 3's annotation-based OpenApi integration only works with kotlin stdlib
1.4
and below, but some of my other libraries would upgrade the stdlib past that. I suppose so long as those libraries didn't depend on any
1.5+
features, I could have excluded the stdlib from them, but your best best would be to just use the latest version of the stdlib, if possible. The only reason it was an issue for me was that upgrading javalin would have been a pain, and I wanted to migrate to another server anyway.