Re: Gradle problems when building adql-java package

Ole Streicher <[email protected]>
Newsgroups gmane.linux.debian.devel.java
Message-ID <87h6ksvj7p.fsf@burgos>
Hi Pierre,

Pierre Gruet <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.