Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


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

Re: Gradle problems when building adql-java package

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Ole Streicher <olebole@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Gradle problems when building adql-java package
Date Fri, 08 Dec 2023 16:10:02 +0100
Message-ID <HIKEi-cbPP-11@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> <HIK1z-cbnj-7@gated-at.bofh.it>
X-Mailbox-Line From debian-java-request@lists.debian.org Fri Dec 8 15:09:13 2023
Old-Return-Path <news@h3002930.stratoserver.net>
X-Amavis-Spam-Status No, score=-6.76 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
User-Agent Gnus/5.13 (Gnus v5.13)
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Lines 29
X-Mailing-List <debian-java@lists.debian.org> archive/latest/23412
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/87h6ksvj7p.fsf@burgos
Approved robomod@news.nic.it
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 08 Dec 2023 15:53:46 +0100
X-Original-Message-ID <87h6ksvj7p.fsf@burgos>
X-Original-References <87plzhufbe.fsf@burgos> <7b80da4a-503b-4fa6-996b-8662cbe01091@debian.org> <87lea4vohz.fsf@burgos> <e4985e67-beb8-41b7-91a6-d06d4246b79c@debian.org>
Xref csiph.com linux.debian.maint.java:12725

Show key headers only | View raw


Hi Pierre,

Pierre Gruet <pgt@debian.org> writes:
> Le 08/12/2023 à 13:59, Ole Streicher a écrit :
>> 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...

Yes it does. Thank you very much! I now can build the library
package. Some problems to resolve (documentation build, CI tests), but
I am optimistic now :-)

Best

Ole

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


Thread

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