I have been trying to find a way to configure JPA platform/implementation for Eclipse but could not find anything relevant. Did I miss anything or there is just no such support?
If I have to roll my own, mainly generating two files .settings/org.eclipse.jpt.core.prefs and .settings/org.eclipse.wst.common.project.facet.core.prefs.xml, are there examples out there that I can follow?
The Gradle Eclipse plugin doesn’t have any particular support for JPA. Are you already applying the ‘eclipse-wtp’ plugin? If you need to create files other than those created by that plugin, you’ll need to write some tasks from scratch, perhaps leveraging Groovy’s MarkupBuilder to generate the XML.