-
I’m part of an organization and I’ve created a token for myself. I’ve updated my Gradle file to have a publication section.
When I run
The group-id is com.myorg and I cannot seem to understand why it won’t publish. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I believe the problem is that you need to specify the repository you want to associate with your package, not the package name. For example:
The 404 is because it can’t find a repository called |
Beta Was this translation helpful? Give feedback.
-
Not working for an android java library. Private REPO exists, but uri(“https://maven.pkg.github.com/ORG/REPO”) fails persistently with 404. |
Beta Was this translation helpful? Give feedback.
-
Try putting your raw user/token in. I messed with this forever and it ended up being that for some reason the publish task was not actually receiving the user/token |
Beta Was this translation helpful? Give feedback.
I believe the problem is that you need to specify the repository you want to associate with your package, not the package name.
For example:
The 404 is because it can’t find a repository called
mypackage
.