title: Accessing Teamcity build number in Gradle build script
body: <p>How can I access the build number and VCS checkout number in a Gradle script executed by Teamcity?</p>
  
  <p>In Ant I can use <code>${build.number}</code> and <code>${build.vcs.number.1}</code> respectively.</p>
  
  <p>Thank you.</p>