Path: csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Ole Streicher Newsgroups: linux.debian.maint.java Subject: Re: Gradle problems when building adql-java package Date: Fri, 08 Dec 2023 14:20:02 +0100 Message-ID: References: X-Original-To: debian-java@lists.debian.org X-Mailbox-Line: From debian-java-request@lists.debian.org Fri Dec 8 13:15:14 2023 Old-Return-Path: 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 Lines: 36 X-Mailing-List: archive/latest/23410 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/87lea4vohz.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 13:59:36 +0100 X-Original-Message-ID: <87lea4vohz.fsf@burgos> X-Original-References: <87plzhufbe.fsf@burgos> <7b80da4a-503b-4fa6-996b-8662cbe01091@debian.org> Xref: csiph.com linux.debian.maint.java:12723 Hi Andrius, Andrius Merkys 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? Cheers Ole