Extract version to the Gradle properties file