Message-ID: <2128579991.3837.1394505674895.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3836_1196977920.1394505674894" ------=_Part_3836_1196977920.1394505674894 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
One of my favorite things to do in Groovy is read files line by = line. I'm going to show you these examples using a Gradle Build Script= .
Imagine you had this build.gradle
What if you wanted to write a script to extract the version from the bui= ld.gradle to use it in a Shell Script or for instance a CI Build Task? How = would you do this efficiently?
This allows you to extract versions fast and simply using nothing but a = Groovy Script!