[om-qa-alerts] [Bug 1665] New Package Request: gradle

issues.openmandriva bugzilla-daemon at openmandriva.net
Sat Apr 22 19:59:47 EDT 2017


https://issues.openmandriva.org/show_bug.cgi?id=1665

--- Comment #5 from mandian <mandian at openmailbox.org> ---
I ported full gradle 2.2.1. There is a working in my personal repo and ABF for
both cooker and 3.0.

It was not a trivial task because lots of missing packages and some circular
dependencies (especially between groovy and gradle), but finally I did.

I used gradle 2.2.1 which is the max version can be built against the actual
java framework (in particular maven should be update in order to build newer
version of gradle).

I also added an initial support for gradle to javapackages-tools and xmvn but I
didn't change their versions so '%gradle_build', which requires at least xmvn
2.6, still can't be used. However packages using gradle can be safely build on
omdv using as basic commands

%build
gradle install --offline ...
%mvn_artifact ...

%install
%mvn_install ...

and `install` is needed to let gradle build maven resources.

Here is the list of packages I upgraded/modified/added in the order I built:

guava (just rebuild for aliases)
jFormatString
maven-wagon
extra166y
aether-ant-tasks
multiverse
jopt-simple
native-platform
netty-tcnative
netty3
jatl
fonts-ttf-lato
jcifs
reflectasm
minlog
kryo
jcsp
simple
apache-commons-email
staxmate
native2ascii-maven-plugin
mybatis-parent
mybatis
paranamer
picocontainer
sonar-update-center
sonar-plugins-parent
sonar

---

gpars [bootstrap]
P groovy [bootstrap]
spock [bootstrap]
gmavenplus-plugin
tesla-polyglot
gmetrics
codenarc
P gradle [bootstrap]
P javapackages-tools
P xmvn
gradle

---

groovy
gpars
spock
gmavenplus-plugin
tesla-polyglot
gmetrics
codenarc
gradle
javapackages-tools
xmvn

---

gpars
groovy
spock
gmavenplus-plugin
tesla-polyglot
gmetrics
codenarc
gradle
javapackages-tools
xmvn

---

I repeated the latest block of packages three times in order to avoid to use
packages built using binaries.
Also for some packages I used a special branch named 'bootstrap' to avoid
circular dependencies where indicated in square bracket.

In my tests I hadn't big problem in build packages with gradle except for some
errors showed when using aqute-bnd for building OSGi manifest, however at the
end of the process all jars contained a valid manifest so this may not be a
real problem for now.

I've already pull requests on github for the following packages:
maven-wagon
jcifs
apache-commons-email
groovy
gradle
javapackages-tools
xmvn

You may find other new packages in my personal repo on ABF or github.

I hope all this can help you to include gradle in lx3.0 and future version. Let
me know if you need some help.

That's all.


PS. I updated groovy to 2.4.8 but I see fedora has a package named groovy18.
Maybe some packages requires the older 1.8 version of groovy.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.openmandriva.org/pipermail/om-qa-alerts_ml.openmandriva.org/attachments/20170422/e64c1d1f/attachment.html>


More information about the OM-QA-Alerts mailing list