-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Publishing the Android library to a local Maven #13731
Comments
Hey @homershim, you can follow the environment setup guide (one note, that only NDK 18 is not supported yet) and then mirror our CI deployment job. This boils down to compiling the library with You can also call |
Thanks a lot, @LukasPaczos ! running
|
The In your case, you need to modify the release script to point to your maven repo instead of the public one and possible authenticate with your repository beforehand. In that file you can also remove all |
Thanks, @LukasPaczos ! I really appreciate your help. I've tried it, and now it compiles and uploads to the local maven. |
@homershim this issue has been fixed in #13765. If you're going to build and release from |
Could you please instruct me how to publish to a local maven now that the make script have changed? Also, a colleague of mine is trying to use the annotation plugin with a local aar file but gets duplicate classes error. Can a local maven be replaced with an aar file? |
@LukasPaczos , I would really appreciate your kind help. |
@homershim you can still follow the same build steps as the release job, but use any maven tool of choice to assemble the POM and publish to a local Maven instead of pushing to Bintray as we do. |
I need to build the library and publish it to a local Maven. What are the steps I need to do in order to accomplish this?
Thanks a lot!
The text was updated successfully, but these errors were encountered: