Re: gradle reboot -- 2025W05 update

Julien Plissonneau Duquène <[email protected]> Fri, 31 Jan 2025 19:00:32 +0100
Newsgroups gmane.linux.debian.devel.java
Message-ID <[email protected]>
Good evening,

Some slow progresses were made since Monday towards getting a Gradle 
build that doesn't depend on pre-built binaries from the upstream Gradle 
and Kotlin projects.

Le 2025-01-27 19:25, Julien Plissonneau Duquène a écrit :
> 
> trying to figure out how to configure the whole thing so the bootstrap 
> gradle (from upstream, thus unpatched) still finds the Kotlin 2.0.20 
> that makes it happy, but builds a gradle that uses our Frankenkotlin.

I somehow found my way around this, swapping a dependency on a pre-built 
Gradle plugin from the previous version to one on the same version as 
the one being built, and downgrading the Kotlin version to that of our 
Frankenkotlin. I'm now deep into backporting a plugin and some APIs into 
that Kotlin, reverse-engineering some of the tedious work that was done 
by Samyak Jain and Emmanuel Bourg to convert the Kotlin build scripts to 
Groovy and downgrade them to work with a Gradle that was already quite 
obsolete, and trying to apply the same recipes to build scripts designed 
for significantly later versions of both Kotlin and Gradle.

I guess that no one will be surprised if I state again that it's a slow 
and tedious process, though I think I'm progressing, and I still have 
some hopes to be able to get the thing to work with the Frankenkotlin. 
Considering the alternative would be to rebootstrap a Kotlin 2+ at the 
same time, which would be a significant project, I think it's worth 
investing some time into this.

Right now I'm in a train on my way to Brussels, hoping to meet some of 
you this week-end at the FOSDEM.

Cheers,