Not able to find Snapshot from Gradle plugin

I don’t see why using the same path wouldn’t work.

It would work, if you would use it.
Like you showed it you publish to the same path but consume from different paths.
But as you now showed, you obviously do not publish to the same path but different paths.

I also added the mavenContent block, but it didn’t work either

Of course it does not work with that block, that block says “don’t take snapshots from there, only release versions”. I asked whether you maybe have used that which could have caused it.