# Gradle-rpm-plugin so brittle Gradle upgrades become a difficult decision

**URL:** <https://discuss.gradle.org/t/gradle-rpm-plugin-so-brittle-gradle-upgrades-become-a-difficult-decision/2258>\
**Category:** Old Forum Archive\
**Created:** [November 12, 2013, 12:40pm UTC](https://discuss.gradle.org/t/gradle-rpm-plugin-so-brittle-gradle-upgrades-become-a-difficult-decision/2258 "2013-11-12T12:40:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spencer\_Allain](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Spencer\_Allain](https://discuss.gradle.org/u/Spencer_Allain)\
**Post date:** [November 12, 2013, 12:40pm UTC](https://discuss.gradle.org/t/gradle-rpm-plugin-so-brittle-gradle-upgrades-become-a-difficult-decision/2258/1 "2013-11-12T12:40:00Z")

</div>

I’m not sure about the total number of consumers of the gradle-rpm-plugin, but the below was posted by at least one user within the last 24 hours to the gradle-rpm-plugin github site.

> We’re having quite a lot of issues using the plugin across different environments \>

> 1.3 works with Gradle 1.6, but not Gradle 1.7 + \> 1.4 works only with Gradle 1.7, but not 1.8 \> Nothing works with Gradle 1.8 \>

> It would be great if plugin was backwards compatible across all versions of Gradle, so that we could always point to the latest one and \> have it work across multipel boxes with Gradle 1.6, 1.7 and 1.8

Because of this exact same issue, Gradle 1.7 is the latest version in use by us in some instances, as robust rpm generation has been deemed more important at present than other core features. There is a non-released version of the gradle-rpm-plugin being tested that works with Gradle 1.8, but key functionality appears to be broken again in the latest 1.9 release candidates.

It would be good to have some idea of how many people are relying on the gradle-rpm-plugin or would consider utilizing it, if it weren’t so brittle recently.

-Spencer

---

<div class="post-metadata">

**Author:** ![Alan\_Krueger](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/alan_krueger/32/1370_2.png) [@Alan\_Krueger](https://discuss.gradle.org/u/Alan_Krueger)\
**Post date:** [November 14, 2013, 11:18pm UTC](https://discuss.gradle.org/t/gradle-rpm-plugin-so-brittle-gradle-upgrades-become-a-difficult-decision/2258/2 "2013-11-14T23:18:00Z")

</div>

I originally developed this plugin to fill a need that I, myself, needed at a previous employer, but it’s been more or less unmaintained since shortly after Gradle 1.4 was released earlier this year. I have very little spare time to devote to this now and I’m also concerned that my current employer’s strong stance on company property will cause conflicts if I was to try to donate my time to supporting the plugin.

I welcome someone taking over maintenance of this plugin going forward, but I really don’t have the resources even to manage pull requests at this point.

---

<div class="post-metadata">

**Author:** ![luke\_daley](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/luke_daley/32/9890_2.png) [@luke\_daley](https://discuss.gradle.org/u/luke_daley)\
**Post date:** [November 19, 2013, 2:32pm UTC](https://discuss.gradle.org/t/gradle-rpm-plugin-so-brittle-gradle-upgrades-become-a-difficult-decision/2258/3 "2013-11-19T14:32:00Z")

</div>

FWIW: we are working towards making public APIs for the internal APIs that the RPM plugin had to build on. If someone wants to take over from Alan on keep working on this that will put more pressure on us to do so.

---

<div class="post-metadata">

**Author:** ![quidryan](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/quidryan/32/73_2.png) [@quidryan](https://discuss.gradle.org/u/quidryan)\
**Post date:** [November 28, 2013, 7:51am UTC](https://discuss.gradle.org/t/gradle-rpm-plugin-so-brittle-gradle-upgrades-become-a-difficult-decision/2258/4 "2013-11-28T07:51:00Z")

</div>

I forked the plugin and did a release as com.netflix.gradle#gradle-ospackage-plugin;1.8.4 to bintray. The code can be found at [https://github.com/nebula-plugins/gradle-ospackage-plugin](https://github.com/nebula-plugins/gradle-ospackage-plugin).

---

<div class="post-metadata">

**Author:** ![Chris\_Dore](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/chris_dore/32/7592_2.png) [@Chris\_Dore](https://discuss.gradle.org/u/Chris_Dore)\
**Post date:** [December 12, 2013, 9:19pm UTC](https://discuss.gradle.org/t/gradle-rpm-plugin-so-brittle-gradle-upgrades-become-a-difficult-decision/2258/5 "2013-12-12T21:19:00Z")

</div>

What are your plans for maintaining this? We have been working on making some changes as issues arise for us. We also have some unreleased changes that have been accepted by the redline library project, but we’re not sure what the plans are for making a new release.

---

<div class="post-metadata">

**Author:** ![quidryan](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/quidryan/32/73_2.png) [@quidryan](https://discuss.gradle.org/u/quidryan)\
**Post date:** [December 12, 2013, 9:24pm UTC](https://discuss.gradle.org/t/gradle-rpm-plugin-so-brittle-gradle-upgrades-become-a-difficult-decision/2258/6 "2013-12-12T21:24:00Z")

</div>

We actively use it, and there’s been a steady stream of commits. I just released a version for 1.9 today. I’d have no problem updating the version of redline, once redline is released.

---

<div class="post-metadata">

**Author:** ![Charles\_Walker1](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/charles_walker1/32/1149_2.png) [@Charles\_Walker1](https://discuss.gradle.org/u/Charles_Walker1)\
**Post date:** [July 3, 2014, 6:57pm UTC](https://discuss.gradle.org/t/gradle-rpm-plugin-so-brittle-gradle-upgrades-become-a-difficult-decision/2258/7 "2014-07-03T18:57:00Z")

</div>

Justin, Has there been any progress on moving away from the use of gradles internal api? I noticed that the plugin breaks when using gradle 2.0.

---

<div class="post-metadata">

**Author:** ![quidryan](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/quidryan/32/73_2.png) [@quidryan](https://discuss.gradle.org/u/quidryan)\
**Post date:** [July 4, 2014, 5:59am UTC](https://discuss.gradle.org/t/gradle-rpm-plugin-so-brittle-gradle-upgrades-become-a-difficult-decision/2258/8 "2014-07-04T05:59:00Z")

</div>

Nothing was added into 2.0 that would let us accomplish what we’re doing using just public APIs.

File an issue on github. I’d be really surprised if the 1.12 based version was broken in 2.0.
