Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Lukasz Antoniak 2012-03-24 15:42:11 +01:00
commit 78ae6abad1
3 changed files with 5 additions and 15 deletions

View File

@ -60,7 +60,7 @@ libraries = [
// Annotations
commons_annotations:
'org.hibernate.common:hibernate-commons-annotations:4.0.1.Final',
'org.hibernate.common:hibernate-commons-annotations:4.0.1.Final@jar',
jandex: 'org.jboss:jandex:1.0.3.Final',
classmate: 'com.fasterxml:classmate:0.5.4',
@ -145,10 +145,6 @@ subprojects { subProject ->
}
toolsJar = file("${System.getProperty('java.home')}/../lib/tools.jar")
if(!toolsJar.exists()){
toolsJar = file("${System.getProperty('java.home')}/../Classes/classes.jar")
}
// appropriately inject the common dependencies into each sub-project
dependencies {
compile( libraries.logging )
@ -156,7 +152,7 @@ subprojects { subProject ->
testCompile( libraries.byteman )
testCompile( libraries.byteman_install )
testCompile( libraries.byteman_bmunit )
testCompile files( toolsJar )
testCompile files( toolsJar )
testRuntime( libraries.slf4j_api )
testRuntime( libraries.slf4j_log4j12 )
testRuntime( libraries.jcl_slf4j )

View File

@ -5,12 +5,8 @@ apply plugin: org.hibernate.build.gradle.testing.matrix.MatrixTestingPlugin
dependencies {
compile( libraries.jta )
compile( libraries.dom4j ) {
transitive = false
}
compile( libraries.commons_annotations ) {
transitive = false
}
compile( libraries.dom4j )
compile( libraries.commons_annotations )
compile( libraries.jpa )
compile( libraries.javassist )
compile( libraries.antlr )

View File

@ -6,9 +6,7 @@ dependencies {
compile( project( ':hibernate-entitymanager' ) )
compile( libraries.commons_annotations )
provided( [group: 'org.hibernate', name: 'hibernate-tools', version: '3.2.0.ga'] )
compile( libraries.dom4j ) {
trasitive = false
}
compile( libraries.dom4j )
provided( libraries.ant )
testCompile( libraries.junit )
testCompile( project(':hibernate-testing') )