Updates to build.gradle to support dynamic version name and code