For your information, I've just pushed XMvn 2.5.0 to rawhide. It has
improved Gradle integration, which allowed implementing %gradle_build in
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.
Software Engineer, Red Hat