Hi bro i can do this job i have done many times. I will guide you how to generate sources, docs jars and aar and sign them using gpg tool which is requirement for maven. I will also guide you how to publish to jcenter and then you can link jcenter with maven.
Here is my example aar library hosted on jcenter as well as maven repo
implementation 'io.github.faob-dev:aar:1.0.0@aar'
it contains youtube logo in drawabale and MyUtils class with two methods square() and native greetFromJNI() method