Saying this as probably the biggest Java fanboy I know: they are pretty bad. Gradle is pretty much the worst build system Ive used. IntelliJ might as well be folded into the JDK, because I don't think it's possible to be productive in Java without it.
Then. You get forced into using intelij because it seems to smooth over a lot of the toolings problems with "magic".
It's horrible.