I have a gradle project that publishes a jar file to a flatDir repository. The publishing works fine, but the uploadArchives task seems to append "-unspecified" to the jar's filename when uploading it. The jar's filename in the build/libs output folder does not have this postfix.
How can I configure the uploadArchives task to skip the appending of "-unspecified" ?
This likely happens because you didn't set project.version. Either set it to a version number, or set it to null.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With