added version code override support to gradle build file