#926714 gradle: New upstream version is available

#926714#5
Date:
2019-04-09 14:47:55 UTC
From:
To:
Dear Maintainer,

Please consider updating gradle, required by many new packages.

Thanks

#926714#12
Date:
2019-04-09 15:03:18 UTC
From:
To:
Emmanuel Bourg <ebourg@apache.org> 于2019年4月9日周二 下午10:57写道:

What? Kotlin requires a new gradle before this!

#926714#17
Date:
2019-04-09 14:57:46 UTC
From:
To:
Kotlin is required to upgrade Gradle, help is welcome.

Emmanuel Bourg

#926714#24
Date:
2019-04-09 15:10:45 UTC
From:
To:
Le 09/04/2019 à 17:03, Yangfl a écrit :

Welcome to the Java Team's hell :)

#926714#45
Date:
2021-09-15 12:12:08 UTC
From:
To:
Gradle 4.4.1 is the latest version before kotlin was added as a
build-dependency, which has been a known problem since 2019. However,
kotlin 1.3.31 has finally been packaged and is currently sitting in the
NEW queue for review.

Gradle 6.4.1 packaging work is currently stalled in offline mode. It
needs someone to work out how to build it without the proprietary
gradle-enterprise-gradle-plugin that upstream uses. Note that this
doesn't require any familiarity with debian packaging!

https://salsa.debian.org/freexian-team/project-funding/-/blob/master/proposed/2021-08-gradle-enterprise.md

BCC'd 926714 since it hasn't been updated with recent developments.
--
emorrp1

#926714#48
Date:
2021-09-17 16:45:56 UTC
From:
To:
Hi,

Got the hint :-). I was not able to compile Gradle 6.4.1 due to a missing
dependency, but it was possible for the latest release 7.2.0. I removed
the gradle-enterprise-gradle-plugin and I've put the adapted code on my
gitlab <https://gitlab.com/philippedn/gradle>. The changes are on the
remove_enterprise_features branch, which is on top of the 7.2.0 release
commit.

Best regards,

Philippe

#926714#57
Date:
2021-11-19 19:37:19 UTC
From:
To:
Happy to report that kotlin just made it into unstable.

<URL: https://tracker.debian.org/pkg/kotlin >

#926714#66
Date:
2022-08-20 16:10:10 UTC
From:
To:
Hi all, documenting my observations as of today because it's not looking
promising for bookworm.

* kotlin FTBFS because of changes to support openjdk 17 #1012214
* gradle FTBFS since an upload of libjansi-java 2.4.0 #1013545
* gradle v6 has been (loosely) imported to the java-team repo
https://salsa.debian.org/freexian-team/project-funding/-/issues/19#note_314274
* I have not yet successfully built gradle v6 from gradle v6

The gradle-6.4.1-initial branch has a mix of patches, the series being I
think just a dump from the GSoC repo, which itself I think didn't
migrate the existing gradle v4 debianisation patches. To build at all,
an additional change to remove-enterprise-plugin.patch is needed to drop
build.gradle.kts#L36. See https://www.emorrp1.name/gradle/ for output.

Rebuilding fails to find ant-1.10.7.jar, since it is in +bootstrap but
is 1.10.12 in debian. Oddly, this is still true after editing all
references to the hardcoded version, trying to fudge with maven.rules
and seems to be because of something gradle does to handle its own
dependency resolution as hinted at by:

https://salsa.debian.org/java-team/gradle/-/commit/f16a4214840f46d44032840cfb52f52c145a662d#fc53ddfd6619eeea25e146e23133a9367c26a52b

I think the next thing I'll look into is improving the +bootstrap, which
I think was just a dump of all the recursive jars it might possibly
need. There's a bootstrap script in the source to update, and I liked
the kotlin one, so will probable just import that. It'd be helpful if
the artifacts were split into two, those that are output to the build
and those that are just the frozen build-deps.

Feel free to chat with me in #debian-java on irc/matrix and if anyone
has permissions to the Salsa java-team, please could you add me there.