<https://blog.kotlin-academy.com/kotlin-dsl-builds...
# feed
t
Hey awesome article 👏 I have a question, if you move out the dependency versions to a separate file like the
Versions.kt
do you still get a warning for an outdated library? Or do you loose that perk? 🤔
j
No
btw you should use version catalogs or refresh versions instead of buildSrc approach, which is not very cache friendly (for dependency management, rest is ok)
j
@Todor Grudev Javier is right. Using builSrc/.../Versions.kt is problematic because any change to that file modify your build classpath, so your next build is basically a clean build. refreshVersions avoid this problem by using a versions.properties file and replace the warning for outdated libraries https://jmfayard.github.io/refreshVersions/
👍 5
👍🏼 1