Groovy > 2.4 ?

Does anyone know why Groovy is available for openSUSE as version 2.4.21? Groovy 2.4 works fine but it is EOL. Current version is 4.0.1 (https://groovy.apache.org/download.html). I cannot find newer versions in software.opensuse.org or in OBS.

Why could this be?

Information for package groovy:
-------------------------------
Repository     : Main Repository (OSS)
Name           : groovy
Version        : 2.4.21-4.1
Arch           : noarch
Vendor         : openSUSE
Installed Size : 2.5 MiB
Installed      : Yes
Status         : up-to-date
Source package : groovy-2.4.21-4.1.src
Upstream URL   : https://groovy-lang.org
Summary        : Dynamic language for the Java Platform
Description    : 
    Groovy is an agile and dynamic language for the Java Virtual Machine,
    built upon Java with features inspired by languages like Python, Ruby and
    Smalltalk.  It seamlessly integrates with all existing Java objects and
    libraries and compiles straight to Java bytecode so you can use it anywhere
    you can use Java.

Because nobody did the job of updating it to something newer. New version does not appear by magic, someone needs to do it. It could also be you if you need this software.

Yes, I understand that.

I was thinking perhaps there may be underlying dependencies that for the moment may be impossible to fulfill in the current ecosystem and perhaps someone else knew better.

Well, [noparse]Java:packages[/noparse] also does not have anything newer and random user directories are several years old. So it really looks like nobody is motivated enough to update it.

Thanks for looking this up. May be one reason may be that the latest Groovy versions require Java 8 for some reason (this is true of many other packages). Also binaries are available in the Groovy site.

As a matter of experiment and fun I tried building Groovy from source to test. I realized I wrote incorrectly above: Groovy 4.0.2 (latest stable) needs Java version 8+, not just 8 so that should not be a problem in current Tumbleweed. However, it needs Gradle > 5 and the currently available one is 4.4.1. So I stopped there. Groovy is after all sort of part of the Java ecosystem and updating the whole thing is larger undertaking for which I have no time at the moment.

In case anyone is interested: one can get a binary from the latest Groovy that will work right away from here: https://groovy.apache.org/download.html, which is what I did.

Have fun learning Groovy :slight_smile: