As titled, is there any able gradle api or maven api to check this? I have read other similar questions, but there is no complete answer yet.
To use mavenLocal, you can add following in your gradle file
repositories {
mavenLocal()
}
the following answer might give you some idea around it, the solution is for remote artifact downloaded in mavenLocal, but i think you can do small tweaks for your purpose.
https://stackoverflow.com/a/4809634/4828650
You can search the artifact available on mavencentral on the following link. https://mvnrepository.com/repos/central
And for most of google's artifacts you can find in following link,many of the artifact of google are there on above link.