[GRADLE-322] Gradle should be a debian package Created: 11/Dec/08  Updated: 10/Feb/17  Resolved: 10/Feb/17

Status: Resolved
Project: Gradle
Affects Version/s: 0.5
Fix Version/s: None

Type: New Feature
Reporter: Jon Cox Assignee: Unassigned
Resolution: Won't Fix Votes: 5

Issue Links:
Duplicate
Duplicated by GRADLE-255 Create Debian/Ubuntu pacakges Resolved

 Description   

To encourage adoption of Gradle, it should be installable as a Debian package, like Gant, ant, etc.



 Comments   
Comment by Russel Winder [ 11/Dec/08 ]

The best way forward on this is probably to contact Varun Hiremath and Torsten Werner, the package maintainers for Groovy and Gant, to see if they will add Gradle to their list.

As soon as the package gets into Debian it will filter into Ubuntu.

Marius Scurtescu's Ant task for creating Debian packages could be handy, I use it in Gant for creating packages that are available but are not used for the Debian and Ubuntu distributions.

Comment by Jon Cox [ 21/Jan/09 ]

I sent an email to Varun regarding this issue today.

Comment by Jon Cox [ 25/Jan/09 ]

It looks like Varun won't be able to help out for now because it would require
getting a few other things packaged in Debian to make it work:

He suggested that the Gradle project:

Comment by Jon Cox [ 10/Aug/09 ]

It looks like ivy and jetty now have .deb packages,
but jopt-simple still does not.

It as announced that jopt-simple was recently added to OpenJDK:
http://cleveralias.blogs.com/thought_spearmints/2009/03/jopt-simple-incorporated-into-openjdk.html

I'm not clear on what that means in terms of packaging.

Anybody know more about this?

Comment by Russel Winder [ 11/Aug/09 ]

Can't add any more data on things, but I wanted to say that Gradle must not rely on things that are in OpenJDK and not in Sun JDK unless the dependency is trivially resolvable by the user.

Comment by Miguel Landaeta [ 06/Feb/10 ]

I'm interested in package gradle for Debian, but I need a way to build it without using the jar file (gradle-wrapper.jar) included in the sources. In Debian, all packages must build from the sources. Any ideas or comments about how this can be achieved?

Comment by Marcus Better [ 15/Feb/10 ]

The Gradle build can be bootstrapped using gradle-wrapper. Then, when the package is built locally, it can be changed to use itself to build.

There is, theoretically speaking, no problem in having a circular build-dependency in Debian. It is quite common for compilers, gcc for example.

Comment by Miguel Landaeta [ 09/Nov/10 ]

Please be aware that I already prepared a Debian package for 0.9-rc-1 version. I will update it to 0.9-rc-2 and ask for review soon. Since Debian is in development freeze right now, realistically speaking this package would be available in Debian on early 2011.

Comment by Miguel Landaeta [ 24/Jan/11 ]

Today Damien Raude-Morvan uploaded the Gradle package that I prepared to the Debian archive. http://ftp-master.debian.org/new/gradle_0.9.1-1.html

It should be available soon. If somebody is interested in test it on Debian or Ubuntu, just let me know.

Comment by Russel Winder [ 24/Jan/11 ]

I run both Debian (Testing) and Ubuntu and would be happy to try things out. For Debian I normally I just wait for things to percolate from Debian Unstable to Debian Testing, but Squeeze is currently in freeze so I guess nothing newly entered into Unstable will percolate. For Ubuntu I guess there is a PPA for putting latest Ubuntu packages?

Comment by Baruch Sadogursky [ 25/Jan/11 ]

Ubuntu 10.10, count me in

Comment by Miguel Landaeta [ 26/Jan/11 ]

As Russel said, because of the freeze is not so easy to test it right now because some dependencies are in the experimental repo and others are in the NEW queue (e.g. gradle itself), so the easy thing is just wait several weeks if you are patient.

Anyway, if you want to test it:

http://alioth.debian.org/~nomadium-guest/debian/unstable/gradle_0.9.1-0miguel1_all.deb
http://alioth.debian.org/~nomadium-guest/debian/unstable/libgradle-core-java_0.9.1-0miguel1_all.deb
http://alioth.debian.org/~nomadium-guest/debian/unstable/libgradle-plugins-java_0.9.1-0miguel1_all.deb

These are some dependencies needed:
http://packages.debian.org/experimental/all/checkstyle/download
http://packages.debian.org/experimental/all/libgoogle-collections-java/download
http://alioth.debian.org/~nomadium-guest/debian/unstable/libjsr305-java_0.1~+svn49-1_all.deb

And these are some recommended Gradle plugin packages and documentation:
http://alioth.debian.org/~nomadium-guest/debian/unstable/libgradle-announce-java_0.9.1-0miguel1_all.deb
http://alioth.debian.org/~nomadium-guest/debian/unstable/libgradle-antlr-java_0.9.1-0miguel1_all.deb
http://alioth.debian.org/~nomadium-guest/debian/unstable/libgradle-code-quality-java_0.9.1-0miguel1_all.deb
http://alioth.debian.org/~nomadium-guest/debian/unstable/libgradle-eclipse-java_0.9.1-0miguel1_all.deb
http://alioth.debian.org/~nomadium-guest/debian/unstable/libgradle-idea-java_0.9.1-0miguel1_all.debç
http://alioth.debian.org/~nomadium-guest/debian/unstable/libgradle-jetty-java_0.9.1-0miguel1_all.deb
http://alioth.debian.org/~nomadium-guest/debian/unstable/libgradle-maven-java_0.9.1-0miguel1_all.deb
http://alioth.debian.org/~nomadium-guest/debian/unstable/libgradle-osgi-java_0.9.1-0miguel1_all.deb
http://alioth.debian.org/~nomadium-guest/debian/unstable/libgradle-scala-java_0.9.1-0miguel1_all.deb
http://alioth.debian.org/~nomadium-guest/debian/unstable/libgradle-wrapper-java_0.9.1-0miguel1_all.deb
http://alioth.debian.org/~nomadium-guest/debian/unstable/gradle-doc_0.9.1-0miguel1_all.deb

Among the tests that I did I build Gradle with itself and Grails.

Comment by Russel Winder [ 22/Feb/11 ]

The Debian Squeeze freeze is now over; Squeeze is now Stable and the new Testing is Wheezy. Will these packages now migrate automatically into Testing?

I am guessing it is now too late to get things into Ubuntu 11.04 Nattay Narwhal?

Comment by Miguel Landaeta [ 22/Feb/11 ]

All the dependencies for Gradle are available in unstable. However, Gradle package is still at NEW queue. I expect to see it accepted soon (probably March).

I'm not that expert with Ubuntu but I guess it is already too late to get it into Ubuntu 11.04.

Comment by Peter Ledbrook [ 31/May/12 ]

Is this still valid? Just noticed that apt-get install gradle works...

Comment by Miguel Landaeta [ 31/May/12 ]

The issue right now is that gradle Debian package is outdated. I had not enough time lately to work on it but contributors are more than welcome.

Comment by Russel Winder [ 01/Jun/12 ]

Miguel,

I am now running Debian Unstable, if you can set me up with the package building framework that is needed, I can probably help out by running trial packagings of Groovy, Gant, Gradle, GPars, GroovyFx (once JavaFx is allowed into Debian), and possibly Grails so as to speed things up for you.

Comment by Benjamin Muschko [ 15/Nov/16 ]

As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub.

We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to.

Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:

  • Checking that your issues contain requisite context, impact, behaviors, and examples as described in our published guidelines.
  • Leave a comment on the JIRA issue or open a new GitHub issue confirming that the above is complete.

We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle!

Comment by Benjamin Muschko [ 10/Feb/17 ]

Thanks again for reporting this issue. We haven't heard back from you after our inquiry from November 15th. We are closing this issue now. Please create an issue on GitHub if you still feel passionate about getting it resolved.

Generated at Wed Jun 30 11:27:12 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.