title: How to get spring-boot dependency version in gradle?
body: <p>I have a standard spring-boot project with <code>org.springframework.boot:spring-boot-gradle-plugin</code>. i know i can override dependency version with e.g. </p>
  
  <pre><code>ext['slf4j.version'] = '1.7.5'
  </code></pre>
  
  <p>but how can i get the version currently imported by spring-boot plugin so i can use it later in the script? for example:</p>
  
  <pre><code>currentSlf4jVersion = xxx('slf4j.version')
  </code></pre>