The question is published on by Tutorial Guruji team.
I have used this tool to publish my library to sonatype https://github.com/chrisbanes/gradle-mvn-push. I can see that it’s uploaded and signed correctly.
but when I try to add the dependency to another project gradle can’t find it
here is what i get: Error:Failed to find: com.github.mohd-bh:app:1.0.0
though I already included mavenCentral() in repositories block.
You can use this link http://search.maven.org/ to search the maven repository.
When I searched for your library, I could not find it.
Sonatype requires that you push your library from the staging server to the release server by using their website tool. You may not have done that which would result in the library not being published to maven.