Not to defend Gradle too much, but Groovy is a superset of Java. So if you want, you can just use the regular Groovy dialect and then write Java in your build scripts, it should work.
This is not entirely a solution though, because Gradle's APIs are fairly complicated and change regularly.