Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > linux.debian.maint.java > #12845

Re: gradle reboot

From sre4ever@free.fr
Newsgroups linux.debian.maint.java
Subject Re: gradle reboot
Date 2024-11-30 11:10 +0100
Message-ID <JOsAh-cK36-3@gated-at.bofh.it> (permalink)
References <JJqpr-9klD-5@gated-at.bofh.it> <JN3DX-bLiV-1@gated-at.bofh.it> <JNlrc-bWRe-3@gated-at.bofh.it> <JOrkR-cIPA-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Le 2024-11-30 09:40, Markus Koschany a écrit :
> 
> I remember that upstream confirmed they only use nightly builds to 
> build gradle

Actually it's a bit more subtle than that: out of curiosity I extracted 
the last 200 versions used to build Gradle [1], and it appears to be a 
combination of releases n-1, milestones, rc, nightly, and nightly from 
topic branches.

And one thing that makes me wonder what's going on is that even though 
I've fixed that version to 8.11.1 on my tree and that's actually what is 
used when I try to build from IDEA (which means these properties are 
used in some ways by IDEA's Gradle integration even with the wrapper 
scripts and JARs removed), every new day the first project sync attempts 
take 12-15 minutes or so and I see log traces about the latest nightly 
build ... and syncing just doesn't work when the offline mode is on ...

> and don't promise that any later version may be able to build an older 
> version.

We can believe them about that. If it happens to work that's just luck.

> Jumping directly to gradle 8 would be perfect of course.

I think that's better. Both Gradle and Kotlin went through some awkward 
growth spurt phase a few years ago, and now that they are starting to 
mature they behave a bit better. Releases 5.x and 6.x are better 
forgotten IMO.

While we are at it I have a question: do you have, or has anyone else 
reasonably recently managed to build anything requiring 
libgradle-kotlin-dsl-java (i.e. that has some build.gradle.kts or other 
.kts excepted settings.gradle.kts because these are unsupported in this 
version)? I tried to use it for libnative-platform-java that has a 
reasonably easy build.gradle.kts (that's an empty file, which is valid) 
but got a Kotlin compiler error "Descriptor wasn't found for declaration 
SCRIPT" that smells some incompatibility issue between Kotlin 
(1.3.31+ds1-1) and Gradle (4.4.1-20).

Cheers,


[1]: https://salsa.debian.org/-/snippets/756

-- 
Julien Plissonneau Duquène

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: gradle reboot Julien Plissonneau Duquène <sre4ever@free.fr> - 2024-11-16 13:50 +0100
  Re: gradle reboot Markus Koschany <apo@debian.org> - 2024-11-26 14:20 +0100
    Re: gradle reboot sre4ever@free.fr - 2024-11-27 09:20 +0100
      Re: gradle reboot Emmanuel Bourg <ebourg@apache.org> - 2024-11-29 12:00 +0100
        Re: gradle reboot sre4ever@free.fr - 2024-11-29 13:00 +0100
      Re: gradle reboot Markus Koschany <apo@debian.org> - 2024-11-30 09:50 +0100
        Re: gradle reboot sre4ever@free.fr - 2024-11-30 11:10 +0100
    Re: gradle reboot Emmanuel Bourg <ebourg@apache.org> - 2024-11-29 11:50 +0100
      Re: gradle reboot sre4ever@free.fr - 2024-11-29 12:50 +0100
        Re: gradle reboot Emmanuel Bourg <ebourg@apache.org> - 2024-11-29 13:00 +0100
          Re: gradle reboot sre4ever@free.fr - 2024-11-29 13:10 +0100
        Re: gradle reboot Toni Mueller <toni@debian.org> - 2024-11-29 13:00 +0100

csiph-web