2012-02-29 11:30:40 -05:00
|
|
|
/*
|
2015-05-19 00:23:35 -04:00
|
|
|
* Hibernate, Relational Persistence for Idiomatic Java
|
2012-02-29 11:30:40 -05:00
|
|
|
*
|
2015-05-19 00:23:35 -04:00
|
|
|
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
|
|
|
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
2012-02-29 11:30:40 -05:00
|
|
|
*/
|
2011-07-23 09:39:27 -04:00
|
|
|
apply plugin: 'java'
|
2013-05-06 16:26:28 -04:00
|
|
|
apply plugin: 'hibernate-matrix-testing'
|
|
|
|
|
2015-04-24 05:52:23 -04:00
|
|
|
//Temporary repository config, until geolatte-geom is released in maven central.
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
url "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-30 00:21:38 -04:00
|
|
|
mavenPom {
|
|
|
|
name = 'Integrate support for Spatial/GIS data into Hibernate O/RM'
|
|
|
|
description = 'Integrate support for Spatial/GIS data into Hibernate O/RM'
|
|
|
|
}
|
|
|
|
|
2011-07-23 09:39:27 -04:00
|
|
|
dependencies {
|
2012-02-29 11:30:40 -05:00
|
|
|
compile(project(':hibernate-core'))
|
2015-11-30 04:04:09 -05:00
|
|
|
|
|
|
|
compile('org.postgresql:postgresql:9.4-1200-jdbc41')
|
2015-11-29 13:48:02 -05:00
|
|
|
compile([group: 'org.geolatte', name: 'geolatte-geom', version: '1.0.1'])
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-08-16 13:46:28 -04:00
|
|
|
|
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'])
|
2015-04-16 15:47:00 -04:00
|
|
|
// testCompile([group: 'com.oracle.jdbc', name: 'ojdbc6', version: '11.1.0.7.0'])
|
2012-10-30 17:17:59 -04:00
|
|
|
// testRuntime([group: 'com.microsoft', name: 'sqljdbc', version: '2.0'])
|
2015-11-30 04:04:09 -05:00
|
|
|
// testRuntime("org.opengeo:geodb:0.7")
|
2012-01-19 17:49:52 -05:00
|
|
|
// testRuntime("mysql:mysql-connector-java:5.1.15")
|
2015-11-29 13:48:02 -05:00
|
|
|
// testRuntime("org.postgresql:postgresql:9.4-1204-jdbc42")
|
|
|
|
// testRuntime("org.postgis:postgis-jdbc:1.1.6")
|
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
|
|
|
|