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

Bekzod

02/21/2024, 11:17 AM
Hello guys, recently I have to downgrade kotlin version to 1.8.22 but some transitive dependency might be using 1.9.21 under the hood. How can I identify it.
v

Vampire

02/21/2024, 11:34 AM
Easiest with a build
--scan
if you can use it.
s

Sam

02/21/2024, 11:34 AM
To identify which versions are being requested/used, you can use the
dependencyInsight
task:
Copy code
./gradlew dependencyInsight --dependency=kotlin
But you might not need to bother. You could just use a stricter version constraint instead.
v

Vampire

02/21/2024, 11:35 AM
Other than that, with
dependencies
and
dependencyInsight
tasks
19 Views