Akbolat’s Workshop

How to upload your Android Library to Maven Central | Central Portal in 2024

Publishing an Android library through the new Central Portal, step by step

Like any developer, I have my own pet projects. I managed to bring one of them to a satisfactory state, so I decided to turn it into a library. I already had experience with Jitpack.io, where everything is very simple — artifacts are taken from the files in the releases tab. This time, I decided to tackle a more complex process: publishing to Maven Central (Central Repository | Portal). However, it wasn’t so easy. Most of the tutorials have become outdated due to changes in 2024. Therefore, I decided to write this guide while uncovering potential pitfalls.