title: Spring Boot Actuator Info Endpoint Version from Gradle File
body: <p>I'd like the <code>/info</code> actuator endpoint from my Spring Boot (1.2.4.RELEASE) application to return the version as specified in the <code>build.gradle</code> file.</p>
  
  <p>In my <code>build.gradle</code> file I have a line as so:</p>
  
  <pre><code>version = '0.0.1-SNAPSHOT'
  </code></pre>
  
  <p>I am using yaml configuration file.  Right now I have the version duplicated as so in <code>application.yml</code>:</p>
  
  <pre><code>info:
      build:
          version: 0.0.1-SNAPSHOT  
  </code></pre>
  
  <p>Is this possible?</p>