-
Notifications
You must be signed in to change notification settings - Fork 122
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
[Question] How to publish custom artifact to Maven Central? #747
Comments
Could you share your project to make investigating this easier? |
Hi @gabrielittner, since I couldn't find a solution, I am now using nmcp as an alternative. https://github.com/lightsail-network/java-stellar-sdk/blob/master/build.gradle.kts#L189-L199 |
Hi, @gabrielittner Same issue, any update? Currently only support with or without sources and javadoc, but not for with or without the output jar.
Because I wanted to upload an aar with so files, not only jar. I don't want xxx.jar to upload. I found a way to upload custom aar and delete the xxx.jar now, but maybe not an elegant way to modify.
I also tried to modify Platform, and So, I can not find a solution to custom the artifact to upload now. |
Hello, I encountered some difficulties when publishing my custom artifact to Maven Central. Here is my
build.gradle.kts
file. On line 25, I defineduberJar
. When I execute./gradlew clean build
, I can findboilerplate-1.0.0-uber.jar
file in thebuild/libs
folder. However, when I execute./gradlew clean publishToMavenLocal
, I cannot find this file in~/.m2/repository/io/github/exampleuser/boilerplate/1.0.0
folder. What should I do to make it appear here?Thank you for your time.
The text was updated successfully, but these errors were encountered: