But since gradle 5.x, baseName and archiveName are deprecated. How can I upgrade that to the new standard? I need to set the jar name without a version number attached.
Yes, already try using that documentation, without success, thatās why I asked over here.
I already tried: archivesBaseName, archiveFileName, but it always add the version at the end. I want the same as before.
The archive name. If the name has not been explicitly set, the pattern for the name is: [archiveBaseName]-[archiveAppendix]-[archiveVersion]-[archiveClassifier].[archiveExtension]
So you should be able to set archiveFileName if you donāt want to use the conventions
Sorry for reviving an old discussion, but the question does not seem to be resolved.
It is not possible to set the archiveFileName - I get the error Val cannot be reassigned (gradle 6.0.1). And the documentation does not indicate how to modify the value otherwise.