Skip to content

Instantly share code, notes, and snippets.

@RX14
Created November 22, 2014 17:58
Show Gist options
  • Save RX14/d182bd38a797723e2168 to your computer and use it in GitHub Desktop.
Save RX14/d182bd38a797723e2168 to your computer and use it in GitHub Desktop.
allprojects {
afterEvaluate { project ->
println "Transforming version specifier $project.version into ${project.version}.$System.env.BUILD_NUMBER"
project.version = "${project.version}.$System.env.BUILD_NUMBER"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment