<html>
<head>
<base href="https://issues.openmandriva.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_IN_PROGRESS "
title="IN_PROGRESS - New Package Request: gradle"
href="https://issues.openmandriva.org/show_bug.cgi?id=1665#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_IN_PROGRESS "
title="IN_PROGRESS - New Package Request: gradle"
href="https://issues.openmandriva.org/show_bug.cgi?id=1665">bug 1665</a>
from <span class="vcard"><a class="email" href="mailto:mandian@openmailbox.org" title="mandian <mandian@openmailbox.org>"> <span class="fn">mandian</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>