That's awesome!

On Thu, Nov 20, 2014 at 2:03 AM, Mikolaj Izdebski <mizdebsk@redhat.com> wrote:
I'm glad to announce that Gradle 2.2 has just landed in Fedora 22!
There's still much to be done, but I think the hardest part is done.
Thanks to everyone who helped this to happen!

On 11/18/2014 06:05 AM, Tom Dunstan wrote:
>>> The GradleVersion class allows things such as '1.0-milestone-5a' and
>>> '2.2-rc-2', but the allowed "stage" strings are hardcoded. I'll see if we
>>> can come up with something that allows a distributor to set it to
>> something
>>> custom. I presume we'll want it to look like e.g. '2.2-f22-17' where 17
>>> would be the rpm spec version. Then the vender specific part could be
>>> adjusted to reflect the distributor, e.g. 'f22', 'el7' etc, and so a user
>>> asking for help has their particular build unambiguously identified.
>>
>> I believe that versioning should be entirely up to upstream and I will
>> respect upstream decision in this matter. I will bring this up with
>> upstream and until I get response I will use standard versioning.
>>
>
> I'll ask internally as to what we'd like. It'll mostly be viewed from the
> user support perspective I suspect.

Currently gradle --version prints:

------------------------------------------------------------
Gradle 2.2-20141119142823+0000
------------------------------------------------------------

Build time:   2014-11-19 14:28:23 UTC
Build number: none
Revision:     <unknown>

Groovy:       2.3.7
Ant:          Apache Ant(TM) version 1.9.4 compiled on August 11 2014
JVM:          1.8.0_40 (Oracle Corporation 25.40-b16)
OS:           Linux 3.16.7-200.fc20.x86_64 amd64


And build-receipt.properties contains:

buildNumber=none
buildTimestamp=20141119142823+0000
commitId=<unknown>
hostname=unknown
isSnapshot=true
javaVersion=1.8.0_40
osName=Linux
osVersion=3.17.2-200.fc20.x86_64
project=gradle
rcNumber=
username=mockbuild
versionBase=2.2
versionNumber=2.2-20141119142823+0000

This should definitely be improved, but I will wait for upstream input
how these fields should look like in Fedora gradle RPM package.

--
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk

PS. Tomorrow I will send an email with more details about Gradle
integration with Fedora, but I think I deserve some rest now :)