Extract dependency versions to gradle.properties