If I add a Kotlin library with no version to the d...
# gradle
j
If I add a Kotlin library with no version to the dependencies, for example
kotlin-test
, should it get the same version than the KGP version in the classpath? Or the version can depends on other libraries adding
kotlin-test
with a higher/lower version?
m
This is happening here.
If you don't specify the version, the Kotlin Gradle plugin will set it for you but if you (or I guess a dependency) defines it, it can be resolved to a different version
j
that last behavior is what I was getting and I was becoming mad