[fedora-java] New macro - %gradle_build

Mikolaj Izdebski mizdebsk at redhat.com
Wed Oct 28 22:47:38 UTC 2015


For your information, I've just pushed XMvn 2.5.0 to rawhide. It has
improved Gradle integration, which allowed implementing %gradle_build in
javapackages-tools.

The %gradle_build macro works just like %mvn_build, except it invokes
Gradle instead of Maven.  It also accepts the same arguments.

Once project is built with %gradle_build, it can be installed by
invocation of %mvn_install.  All other standard %mvn_* macros can also
be used with %gradle_build.

I will try documenting this as time allows, but until it's done you can
see spec files of other packages as example how to use this new macro.

http://pkgs.fedoraproject.org/cgit/gpars.git/tree/gpars.spec?id=1d2c7e0c17e6e07bd6f94438ae24df2c402921be#n48
http://pkgs.fedoraproject.org/cgit/spock.git/tree/spock.spec?id=a710e40d0d9b9af37a6dcad7ac99a2d6529b9d05#n61

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


More information about the java-devel mailing list