Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12724
| From | Pierre Gruet <pgt@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Gradle problems when building adql-java package |
| Date | 2023-12-08 15:30 +0100 |
| Message-ID | <HIK1z-cbnj-7@gated-at.bofh.it> (permalink) |
| References | <HIHdn-c9JZ-17@gated-at.bofh.it> <HIIVQ-caMs-9@gated-at.bofh.it> <HIIVQ-caMs-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Ole,
Le 08/12/2023 à 13:59, Ole Streicher a écrit :
> Hi Andrius,
>
> Andrius Merkys <merkys@debian.org> writes:
>> On 2023-12-08 13:03, Ole Streicher wrote:
>>> I am trying to update the adql-java package to the newest upstream
>>> (beta) version. As it is my first project using gradle, I sumbled upon a
>>> number of problems: [...]
>>
>> I guess you could patch 'junit:junit:4.13.1' with 'junit:junit:4.x' to
>> avoid this overly strict dependency version checking.
>
> Thank you! This worked.
>
> Now I have the next problem: the original ADQLLib/build.gradle contains the lines
>
> // Name of the JAR name (which will be then suffixed by the version number):
> archivesBaseName = "adql"
> distributions {
> main {
> distributionBaseName = archivesBaseName
> }
> }
>
> When I removed the "distributions" block, the Jar file has the wrong
> name (ADQLLib.jar). But when I include it, I get the error
>
> * What went wrong:
> A problem occurred evaluating project ':ADQLLib'.
> > Could not set unknown property 'distributionBaseName' for object of type org.gradle.api.distribution.internal.DefaultDistribution.
>
> However, when looking in the Gradle docs, I find this as a valid
> configuration. Do you have any idea here?
Hmm, unfortunately we have an old Gradle in Debian at the moment. One
has to look at the docs for version 4.4:
https://docs.gradle.org/4.4/userguide/distribution_plugin.html
By reading this, I think you could try
baseName = archivesBaseName
instead of
distributionBaseName = archivesBaseName
Tell us if it works...
>
> Cheers
>
> Ole
>
Best,
--
Pierre
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
Gradle problems when building adql-java package Ole Streicher <olebole@debian.org> - 2023-12-08 12:30 +0100
Re: Gradle problems when building adql-java package Ole Streicher <olebole@debian.org> - 2023-12-08 14:20 +0100
Re: Gradle problems when building adql-java package Pierre Gruet <pgt@debian.org> - 2023-12-08 15:30 +0100
Re: Gradle problems when building adql-java package Ole Streicher <olebole@debian.org> - 2023-12-08 16:10 +0100
csiph-web