[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gradle reboot



Hi Julien,

First of all, thank you for working on Gradle. I have been working on it in the
past and together with Emmanuel we tried different approaches. Currently I
can't spend more time on it, but I have uploaded my last attempt to

https://salsa.debian.org/java-team/gradle-apo

perhaps this might be helpful for someone.

I discarded the idea to upgrade Gradle to 6.x or even newer releases because
the main problem with Gradle for Debian is the complex interaction between its
(build)-dependencies. Since we only support one version of a library in
general, you will quickly reach a point where you are stuck in a loop between
upgrading existing Debian packages, then fixing broken reverse-dependencies,
and then moving on to build Gradle offline. And for me those iterations never
seemed to end.

My last idea was to only make a small step forward and upgrade Gradle to 4.6,
the first version that uses Kotlin. I downloaded the official binary release of
4.6 and installed it to /opt/gradle/gradle-4.6. I managed to successfully build
gradle 4.6 offline with Debian packages but only with the official binary
release. If I replace this one with the resulting Debian package and try to
rebuild Gradle, the build fails. 

I believe all remaining issues are related to our Kotlin version in Debian, the
kotlin-gradle plugin and the gradle-kotlin-dsl-extensions and a few patches to
tie them all together. Upstream used a different version of Kotlin to build 4.6
and that might be one of the reasons for the broken Debian package. I wish you
all the best and try to follow up as soon as time permits.

Regards,

Markus


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: