2012-02-29 11:30:40 -05:00
|
|
|
/*
|
|
|
|
* This file is part of Hibernate Spatial, an extension to the
|
|
|
|
* hibernate ORM solution for spatial (geographic) data.
|
|
|
|
*
|
|
|
|
* Copyright © 2007-2012 Geovise BVBA
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
2011-07-23 09:39:27 -04:00
|
|
|
apply plugin: 'java'
|
2013-05-06 16:26:28 -04:00
|
|
|
apply plugin: 'hibernate-matrix-testing'
|
|
|
|
|
|
|
|
//apply plugin: org.hibernate.build.gradle.testing.matrix.MatrixTestingPlugin
|
2011-07-23 09:39:27 -04:00
|
|
|
|
|
|
|
dependencies {
|
2012-02-29 11:30:40 -05:00
|
|
|
compile(project(':hibernate-core'))
|
2012-10-19 18:33:08 -04:00
|
|
|
compile([group: 'postgresql', name: 'postgresql', version: '8.4-701.jdbc4'])
|
|
|
|
compile([group: 'org.geolatte', name: 'geolatte-geom', version: '0.12-SNAPSHOT'])
|
2012-10-30 17:17:59 -04:00
|
|
|
compile([group: 'com.vividsolutions', name: 'jts', version: '1.12'])
|
2011-07-23 09:39:27 -04:00
|
|
|
|
2012-02-29 11:30:40 -05:00
|
|
|
compile(libraries.dom4j) {
|
2011-07-23 09:39:27 -04:00
|
|
|
transitive = false
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-02-29 11:30:40 -05:00
|
|
|
testCompile(libraries.junit)
|
|
|
|
testCompile(project(':hibernate-testing'))
|
2012-10-30 17:17:59 -04:00
|
|
|
testCompile([group: 'commons-dbcp', name: 'commons-dbcp', version: '1.4'])
|
2012-02-29 11:30:40 -05:00
|
|
|
// testRuntime([group: 'com.oracle.jdbc', name: 'ojdbc6', version: '11.2.0.3'])
|
2012-10-30 17:17:59 -04:00
|
|
|
// testRuntime([group: 'com.microsoft', name: 'sqljdbc', version: '2.0'])
|
2012-02-29 11:30:40 -05:00
|
|
|
// testRuntime("org.opengeo:geodb:0.7")
|
2012-01-19 17:49:52 -05:00
|
|
|
// testRuntime("mysql:mysql-connector-java:5.1.15")
|
2012-10-30 17:17:59 -04:00
|
|
|
// testRuntime("postgresql:postgresql:8.4-701.jdbc4")
|
2012-02-29 11:30:40 -05:00
|
|
|
testCompile(libraries.validation)
|
|
|
|
testCompile(libraries.jandex)
|
|
|
|
testCompile(libraries.classmate)
|
|
|
|
testCompile(libraries.validator) {
|
|
|
|
// for test runtime
|
|
|
|
transitive = true
|
|
|
|
}
|
|
|
|
testRuntime('jaxen:jaxen:1.1')
|
|
|
|
testRuntime(libraries.javassist)
|
2012-01-13 18:22:30 -05:00
|
|
|
|
2012-02-29 11:30:40 -05:00
|
|
|
// matrixRuntime( 'jaxen:jaxen:1.1' )
|
2011-07-23 09:39:27 -04:00
|
|
|
}
|
|
|
|
|
2012-02-29 11:30:40 -05:00
|
|
|
sourceSets.test.resources {
|
|
|
|
setSrcDirs(['src/test/java', 'src/test/resources'])
|
2011-07-23 09:39:27 -04:00
|
|
|
}
|
2012-01-13 18:22:30 -05:00
|
|
|
|