CORDA-2804: Replace JPA 2.1 annotations with JPA 2.2.

This commit is contained in:
Chris Rankin 2019-03-26 09:35:18 +00:00 committed by Mike Hearn
parent 142d444835
commit 6cd2e6eb86
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ dependencies {
// and without any obviously non-deterministic ones such as Hibernate.
deterministicLibraries "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
deterministicLibraries "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
deterministicLibraries "org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final"
deterministicLibraries "javax.persistence:javax.persistence-api:2.2"
deterministicLibraries "org.bouncycastle:bcprov-jdk15on:$bouncycastle_version"
deterministicLibraries "org.bouncycastle:bcpkix-jdk15on:$bouncycastle_version"
deterministicLibraries "com.google.code.findbugs:jsr305:$jsr305_version"

View File

@ -106,8 +106,8 @@ dependencies {
compile "org.bouncycastle:bcprov-jdk15on:${bouncycastle_version}"
compile "org.bouncycastle:bcpkix-jdk15on:${bouncycastle_version}"
// JPA 2.1 annotations.
compile "org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final"
// JPA 2.2 annotations.
compile "javax.persistence:javax.persistence-api:2.2"
// required to use @Type annotation
compile "org.hibernate:hibernate-core:$hibernate_version"