Switching the dependencies to release versions

The SNAPSHOT versions are not preserved in the package registry, and we can't be sure about what the build will be if we use
these. By using release versions, the build is more predictable and reliable
1 job for !18 with remove-snapshot-dependencies in 15 minutes and 6 seconds (queued for 2 seconds)
latest detached
Status Name Job ID Coverage
passed trigger-trusted-tests #271935