Path: csiph.com!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Hans-Christoph Steiner Newsgroups: linux.debian.maint.java Subject: Re: gradle reboot Date: Tue, 26 Nov 2024 13:40:01 +0100 Message-ID: References: X-Original-To: debian-java@lists.debian.org X-Mailbox-Line: From debian-java-request@lists.debian.org Tue Nov 26 12:37:57 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.898 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .at. - helo: .fhigh-a2-smtp.messagingengine. - helo-domain: .messagingengine.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 X-Me-Sender: X-Me-Received: X-Me-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrgeejgdeflecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuf fvfhfhohgjtgfgsehtkeertddtvdejnecuhfhrohhmpefjrghnshdqvehhrhhishhtohhp hhcuufhtvghinhgvrhcuoehhrghnshesrghtrdhorhdrrghtqeenucggtffrrghtthgvrh hnpeegvddvjeeftdeghfeitdevhedthfevgeduueeuudehtddtieeffeejudefleeuheen ucffohhmrghinhepnhhlnhgvthdrnhhlnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhephhgrnhhssegrthdrohhrrdgrthdpnhgspghrtghpthht ohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepuggvsghirghnqdhjrghvrg eslhhishhtshdruggvsghirghnrdhorhhg X-Me-Proxy: Feedback-ID: i264a41e9:Fastmail MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Organization: @||@ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/23540 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/7fa93159-718b-4708-b557-78d658f014d3@at.or.at Approved: robomod@news.nic.it Lines: 53 Sender: robomod@news.nic.it X-Original-Date: Tue, 26 Nov 2024 13:37:34 +0100 X-Original-Message-ID: <7fa93159-718b-4708-b557-78d658f014d3@at.or.at> X-Original-References: <82916e7d-bb03-fbb3-38cf-91a6d12c5365@apache.org> Xref: csiph.com linux.debian.maint.java:12833 Emmanuel Bourg: > Hi Julien, > > Le 04/11/2024 à 14:43, Julien Plissonneau Duquène a écrit : > >> This is to let you know that I am currently working on overhauling and >> upgrading the gradle package to the upcoming 8.11 release. This is indeed >> quite challenging and I am not yet to the point where I could share a repo and >> let others experiment and contribute, but I hope to get there in a few days or >> maybe next week, I will then post an update with a link. > > Thank you for tackling this issue, this challenge requires a lot of time, skills > and patience. It's long, thankless, but definitely fun if you are a bit > masochistic. > > >> My current plan is to make it at least a 2-stage build as there is no point in >> trying to make its complicated buildscript work with the currently packaged >> version 4.4.1. I don't know yet if the versions of Groovy and Kotlin currently >> in Debian will work with these builds but I will try. > > No they won't work. Getting Kotlin 1.3.31 to build with Java 17 was an epic > achievement but unfortunately it didn't even allow us to package an incremental > update of Gradle. > > Kotlin and Gradle are tightly coupled, and unless you are ready to rewrite their > build systems with something else and replace the Kotlin code in Gradle, I don't > think it's possible to bootstrap them separately. > > That was the motivation behind the gradle-bootstrap package currently in sid: > start with a binary only package containing Gradle, Koltin and their > dependencies, and use it to gradually rebuild these components from source until > the bootstrap package is no longer needed. I haven't pushed further in this > direction by lack of time but I still think that's the best strategy to build a > recent version of Gradle and Kotlin. > > Note that there is also an issue with the Gradle enterprise plugin that isn't > open sourced and has to be removed. I don't know if Gradle 8 is still affected. It is great that you are taking this on! It is a very valuable thing to get done. I will try to help and review as I find time, but I'm really slammed at the moment. Another thing I can offer is help with funding for doing this work, if that is interesting to you. Specifically, NLnet's Mobifree fund (https://nlnet.nl/mobifree/) is likely to fund this kind of work because Gradle is so important for Android. And having Gradle in Debian means it truly is free software. I will happily help you put together a proposal for NLnet. The money would then go directly to you. They pay you as a gift from a foundation, and the overall process is relatively easy. .hc