-
Notifications
You must be signed in to change notification settings - Fork 198
POM / AAR / artifact naming not working properly, even on 1.6 #117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @Flitskikker, |
i happen the same problems,and i found some founds. and gradle print message : now, i think i can upload correct arr'file.but!!!!!!!! just you see ,the name of aar is still module's name-aar。 ok,finally,i solve the problem like this!!!! you can see my project |
ok,i find a simple method, you just set the value of project.archivesBaseName to your POM_ARTIFACT_ID |
Facing the same issue |
Hi all,
I was looking on publishing one of my libraries to JCenter/Maven, so I looked around and stumbled upon the following guide:
https://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en
Everything went fine, until I wanted to upload the files. The bintray plugin refuses to use the artifact id I specified, and instead names everything as the name of the module.
The structure of my project is as follows:
"app" is an example project and "library" is the library I want to upload.
My library/bintray config is as follows:
https://github.com/AVOdev/AWSPushManager/blob/edb9c50f3e3b2b7c20967339931ed71ae83885e0/library/build.gradle
"aws-push-manager" is how I want my library to be named on Bintray, but everything gets uploaded as library-***.
I found #103, #81 and @eyalbe4's comments and updated to plugin version 1.6. Now the pom file gets generated correctly, but the sources are still generated under "library". Now it's even fragmented!
As a temporary fix, I reverted to 1.4 and renamed my library project to "aws-push-manager" and it works instantly:
However, I would like to keep the name "library" for my library project. Could you please advise on how to achieve this?
Thanks in advance! :)
The text was updated successfully, but these errors were encountered: