https://kotlinlang.org logo
#gradle
Title
# gradle
j

Javier

07/13/2022, 3:31 PM
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

mbonnin

07/13/2022, 5:30 PM
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

Javier

07/13/2022, 5:55 PM
that last behavior is what I was getting and I was becoming mad
2 Views