This way gradle should report the error… currently it is so silent for such errors…
What error?
If you look inside the POM, it has <packaging>pom</packaging> which means it is expected that there is no jar at these coordinates.
You probably wanted to depend on easy-random-core, not easy-random, as easy-random is just the parent pom for the modules of that project.
From Gradle side, everything is perfectly fine, it complains that it cannot compile the sources as the classes you try to use are not present. That this is because you depend on the wrong dependency is something Gradle can hardly guess by itself.