title: Gradle --show-version
body: <p>What is the Gradle analog for Maven's <code>--show-version</code> option?</p>
  <pre><code> -V,--show-version                      Display version information
                                          WITHOUT stopping build
  </code></pre>
  <p>Output includes Maven, Java and OS versions:</p>
  <pre><code>Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 23:22:22+0800)
  Maven home: D:\Progs\maven\apache-maven-3.1.1
  Java version: 1.7.0_11, vendor: Oracle Corporation
  Java home: C:\Program Files\Java\jdk1.7.0_11\jre
  Default locale: zh_CN, platform encoding: GBK
  OS name: &quot;windows 7&quot;, version: &quot;6.1&quot;, arch: &quot;amd64&quot;, family: &quot;windows&quot;  
  </code></pre>
  <p><code>-version</code> stops the build. Both lines below give the same result: version only</p>
  <pre><code>gradle build -version
  gradle -version build
  </code></pre>