kotlin2 in Debian -- 2025W31 update

Julien Plissonneau Duquène <[email protected]> Sun, 03 Aug 2025 21:55:24 +0200
Newsgroups gmane.linux.debian.devel.java
Message-ID <[email protected]>
Good evening,

We are left behind a bit more by the upstream Gradle project as they 
released Gradle 9.0.0 three days ago, and a 9.1.0 release is already 
planned soon. But don't worry, the 8.x branch will remain maintained 
upstream for some time, and it's likely to be needed for a few years in 
Debian.

Le 2025-07-27 22:51, Julien Plissonneau Duquène a écrit :
> 
> what JetBrains is planning

As I read their annoucement [1] there won't be too many changes on the 
IDEA source repository side. To summarize, they realized that their 
"community edition" binary distribution was actually far from being 
fully open source (in a way that is very similar to binary releases of 
Google Chrome or Visual Studio Code) so they will drop it in favor of 
the Ultimate build that will have its free features unlocked by default 
and will simply be named "IntelliJ IDEA". But they will also from now on 
provide true open-source binary builds that will be built and released 
through GitHub [2]. This is excellent news, as it means they will have 
to iron out a few kinks to ensure these open-source builds succeed and 
remain usable. I've installed the 2025.2 RC from GitHub and so far it 
seems to be working fine, just like the current Community Edition.

[1]: 
https://blog.jetbrains.com/idea/2025/07/intellij-idea-unified-distribution-plan/
[2]: https://github.com/JetBrains/intellij-community/releases

I'm now attacking the upgrade of the intellij-community-idea source 
package in Debian, while Vladimir is working on updating 
libkotlinx-coroutines-java to the latest upstream release (we are 
splitting the work on package upgrades). So far the progress bar of my 
build of kotlin2 reaches the 54% mark then fails on a bunch of serious 
errors, most of them caused by outdated or missing dependencies.

To make things a bit more ... interesting? some time ago 
intellij-community-idea switched to Bazel for its build, so now we have 
gradle that build-depends on kotlin that build-depends on gradle and 
intellij-community-idea, and the latter build-depends on kotlin and 
bazel, which build-depends on bazel (but at least it's on a released 
previous version, unlike Gradle).

As we don't yet have a usable Bazel in Debian, I'm planning to 
reimplement rudimentary Gradle 4 scripts to build the libraries that are 
currently needed.

Cheers,