hibernate-orm/hibernate-envers/hibernate-envers.gradle

31 lines
850 B
Groovy

apply plugin: 'java'
dependencies {
compile( project( ':hibernate-core' ) )
compile( project( ':hibernate-entitymanager' ) )
compile( libraries.commons_annotations )
compile( [group: 'org.hibernate', name: 'hibernate-tools', version: '3.2.0.ga'] ) {
trasitive = false
}
compile( libraries.dom4j ) {
trasitive = false
}
compile( libraries.ant )
testCompile( libraries.junit )
testCompile( project(':hibernate-testing') )
testCompile( libraries.jpa )
testCompile( project(':hibernate-ehcache') ) {
exclude group: 'org.slf4j'
}
testRuntime( libraries.h2 )
testRuntime( libraries.javassist )
}
sourceSets {
test {
// resources inherently exclude sources
resources {
setSrcDirs( ['src/test/java','src/test/resources'] )
}
}
}