Hi,
I am relatively new to the Gradle. We are trying out building and publishing the jar to artifactory. The jar which is published is publishing with the name {rootProject.name}-{version}-{archiveFileName}.jar
If rootProject.name =‘xx’
version = 1234
archiveFileName = ‘sample.jar’
Then the uploaded jar contains the file name as ‘xx-1234-sample.jar’
But I wanted to upload the jar with the name as ‘sample.jar’. But still does not want to loose version information for dependency resolution.
Is there anyway to fulfill the above requirement? Please help me out.
Gradle version: 7.0
Thanks
Nagaraju