Todor Grudev

    Todor Grudev

    1 year ago
    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? 🤔
    Javier

    Javier

    1 year ago
    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)
    jmfayard

    jmfayard

    1 year ago
    @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 librarieshttps://jmfayard.github.io/refreshVersions/