Extract version to gradle.properties