apply plugin: 'java' apply plugin: org.hibernate.build.gradle.testing.matrix.MatrixTestingPlugin dependencies { compile( project( ':hibernate-core' ) ) compile( [group: 'com.vividsolutions', name: 'jts', version: '1.11'] ) { transitive = false } compile( [group: 'org.postgis', name: 'postgis-jdbc', version: '1.5.3'] ) compile( [group: 'postgresql', name: 'postgresql', version: '8.4-701.jdbc4'] ) compile( libraries.dom4j ) { transitive = false } testCompile( libraries.junit ) testCompile( project(':hibernate-testing') ) testCompile( [group: 'commons-dbcp', name: 'commons-dbcp', version: '1.4']) testCompile([group: 'com.oracle.jdbc', name:'ojdbc6', version:'11.1.0.7.0']) testCompile([group: 'com.microsoft', name: 'sqljdbc', version: '2.0']) matrixRuntime( 'jaxen:jaxen:1.1' ) } sourceSets { test { // resources inherently exclude sources resources { setSrcDirs( ['src/test/java','src/test/resources'] ) } } matrix { java { srcDir 'src/matrix/java' } resources { srcDir 'src/matrix/resources' } } }