title: Get custom grails plugin version from within the plugin
body: <p>I have a Grails plugin that I've written that has its version set using set-version within our continuous integration environment.  While building, I'd like to programmatically output the version from within "eventCompileEnd" event hook.  So, for my Grails app I can just get the "app.version" metadata but plugin versions are set in the GrailsPlugin.groovy file in the root of the plugin.  Is there any way to access that value? Here's the version info I'm referring to:</p>
  
  <pre><code>class MyUtilityGrailsPlugin {
     // the plugin version
     def version = "4.6.8"
  
     // the version or versions of Grails the plugin is designed for
     def grailsVersion = "2.1 &gt; *"
  
     ...etc.
  </code></pre>