updates gradle dist url to https
Adds constraint priority translation