I have my version number in my gradle.properties and most of the time it is fine because I have something like 1.3-SNAPSHOT in the properties and I don\'t need
1.3-SNAPSHOT