diff --git a/hibernate-core/hibernate-core.gradle b/hibernate-core/hibernate-core.gradle index 0997f9e4d4..9d5cb10118 100644 --- a/hibernate-core/hibernate-core.gradle +++ b/hibernate-core/hibernate-core.gradle @@ -14,6 +14,7 @@ dependencies { compile( libraries.jpa ) compile( libraries.javassist ) compile( libraries.antlr ) + compile( libraries.jta ) compile( libraries.jandex ) compile( libraries.classmate ) @@ -26,7 +27,6 @@ dependencies { antlr( libraries.antlr ) - provided( libraries.jta ) provided( libraries.jacc ) provided( libraries.validation ) provided( libraries.ant ) diff --git a/hibernate-ehcache/hibernate-ehcache.gradle b/hibernate-ehcache/hibernate-ehcache.gradle index ee1787f1a4..572af6c397 100644 --- a/hibernate-ehcache/hibernate-ehcache.gradle +++ b/hibernate-ehcache/hibernate-ehcache.gradle @@ -7,7 +7,6 @@ dependencies { compile project( ':hibernate-core' ) compile( libraries.ehcache ) - provided( libraries.jta ) testCompile project( ':hibernate-testing' ) } diff --git a/hibernate-entitymanager/hibernate-entitymanager.gradle b/hibernate-entitymanager/hibernate-entitymanager.gradle index d5cca76e40..57540cedc0 100755 --- a/hibernate-entitymanager/hibernate-entitymanager.gradle +++ b/hibernate-entitymanager/hibernate-entitymanager.gradle @@ -23,8 +23,7 @@ dependencies { compile( libraries.commons_annotations ) compile( libraries.jpa ) compile( libraries.javassist ) - - provided( libraries.jta ) + compile( libraries.jta ) provided( "javax.enterprise:cdi-api:1.1-PFD" ) diff --git a/hibernate-envers/hibernate-envers.gradle b/hibernate-envers/hibernate-envers.gradle index d391eef26b..10d0b458ac 100644 --- a/hibernate-envers/hibernate-envers.gradle +++ b/hibernate-envers/hibernate-envers.gradle @@ -10,8 +10,6 @@ dependencies { compile( project( ':hibernate-core' ) ) compile( project( ':hibernate-entitymanager' ) ) - provided( libraries.jta ) - provided( [group: 'org.hibernate', name: 'hibernate-tools', version: '3.2.0.ga'] ) provided( libraries.ant ) provided( project( ':hibernate-jpamodelgen' ) ) diff --git a/hibernate-infinispan/hibernate-infinispan.gradle b/hibernate-infinispan/hibernate-infinispan.gradle index 4b1e4f844b..2be21d3c31 100644 --- a/hibernate-infinispan/hibernate-infinispan.gradle +++ b/hibernate-infinispan/hibernate-infinispan.gradle @@ -17,8 +17,6 @@ dependencies { compile project( ':hibernate-core' ) compile( libraries.infinispan ) - provided( libraries.jta ) - testCompile project( ':hibernate-testing' ) testCompile( libraries.infinispan_test ) testCompile( libraries.jboss_common_core ) diff --git a/hibernate-osgi/hibernate-osgi.gradle b/hibernate-osgi/hibernate-osgi.gradle index 5512235300..225641c0a8 100644 --- a/hibernate-osgi/hibernate-osgi.gradle +++ b/hibernate-osgi/hibernate-osgi.gradle @@ -44,7 +44,6 @@ dependencies { compile( project( ':hibernate-core' ) ) compile( project( ':hibernate-entitymanager' ) ) - compile( libraries.jta ) // MUST use 4.3.1! 4.3.0 was compiled with "-target jsr14". // http://blog.osgi.org/2012/10/43-companion-code-for-java-7.html