I could spent some time on this weekend on Gradle JavaEE functionalities. Someone said, that all this support would be half handed without a persistence support. So I’ve added that.
The current implementation is nearly as good as you can get from NetBeans using Maven, as it is an actual port of the maven-persistence module. The only thing is missing is adding the JPA dependencies to the project when that is missing.