In regards to this part of the documentation - is it possible to control the dynamic version caching of build script dependencies?
Our team uses a build script dependency with just latest.release and we’d prefer to have it check this one on each build, instead of every 24 hours as is normal. Forcing us to do build with --refresh-dependencies is a bit brutal, as it adds several minutes to the build.
I didn’t try it, but I’d expect that the same that is shown in the documentation applies, you just have to apply it to the correct configuration.
The snippet shown in the documentation applies to all configurations of project dependencies.
So just do it in the buildscript block, or maybe even targeted to the classpath configuration like in Kotlin DSL: