mods for working with local artifactory repo

See: https://www.youtube.com/watch?v=zhhCD5qtocg
TODO: resolve the distributionUrl to work with local repo