[opensuse-packaging] Packaging Java applications using the Gradle build system

Hi, I recently looked into updating the freemind package, as it is both, severly outdated and doesn't build on versions newer Leap 42. However, I ran into somewhat of a road block as upstream switch from a classic Ant build to using Gradle [1]. Is there any other package in openSUSE using Gradle? I searched the Wiki for documentation on how to package software that uses Gradle but sadly failed to find anything. In case of Freemind there is the additional problem that the package assumes Gradle to be present in the system. However, openSUSE doesn't package it. I think this is on purpose, as some helpers are packaged and the recommended way to use Gradle anyhow is to have the Gradle Wrapper [2] in the source code. Yet, I fear that, even if I shipped the Gradle Wrapper as an additional source, this would not work as the Gradle Wrapper will attempt to pull Gradle from the internet. Do you have any recommendation as to how to proceed? I would hate to have to tarball-install this to my wife's machine. Kind Regards, Matthias [1]: https://gradle.org/ [2]: https://docs.gradle.org/5.1.1/userguide/gradle_wrapper.html -- Dr. Matthias Bach www.marix.org „Der einzige Weg, die Grenzen des Möglichen zu finden, ist ein klein wenig über diese hinaus in das Unmögliche vorzustoßen.“ - Arthur C. Clarke

Hi Matthias, On Sat, 2019-01-12 at 12:36 +0100, Matthias Bach wrote:
There is some work being done at [1], maybe you can build on top of that. As far as I can tell, gradle is bootstrapped but not yet self- building. Robert [1]: https://build.opensuse.org/project/show/home:fstrba:maven -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

Hi Matthias, On Sat, 2019-01-12 at 12:36 +0100, Matthias Bach wrote:
There is some work being done at [1], maybe you can build on top of that. As far as I can tell, gradle is bootstrapped but not yet self- building. Robert [1]: https://build.opensuse.org/project/show/home:fstrba:maven -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Matthias Bach
-
Robert Munteanu