Save version to gradle.properties (if it exists).