Do something like the following so we don't have to maintain it:
compile group: 'org.hibernate.javax.persistence', name: 'hibernate-jpa-[SPEC VERSION]-api', version: '[IMPL-VERSION]'