2018-03-30 00:16:12 -04:00
|
|
|
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
|
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
|
|
|
*/
|
2018-01-10 16:06:58 -05:00
|
|
|
|
2020-04-06 13:21:11 -04:00
|
|
|
description = 'Integrate support for Spatial/GIS data into Hibernate O/RM'
|
|
|
|
|
2018-01-10 16:06:58 -05:00
|
|
|
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
2021-07-14 12:44:35 -04:00
|
|
|
apply plugin: 'org.hibernate.matrix-test'
|
2013-05-06 16:26:28 -04:00
|
|
|
|
2015-04-30 00:21:38 -04:00
|
|
|
|
2011-07-23 09:39:27 -04:00
|
|
|
dependencies {
|
2018-03-30 00:16:12 -04:00
|
|
|
compile( project(':hibernate-core') )
|
|
|
|
compile( libraries.geolatte )
|
|
|
|
|
2018-04-20 07:07:31 -04:00
|
|
|
compile( libraries.postgresql )
|
2015-11-30 04:04:09 -05:00
|
|
|
|
2012-02-29 11:30:40 -05:00
|
|
|
testCompile(libraries.junit)
|
|
|
|
testCompile(project(':hibernate-testing'))
|
2021-03-31 15:30:35 -04:00
|
|
|
testCompile( project( path: ':hibernate-core', configuration: 'tests' ) )
|
2021-02-08 17:33:03 -05:00
|
|
|
testCompile([group: 'org.apache.commons', name: 'commons-dbcp2', version: '2.8.0'])
|
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
|
|
|
|
}
|
2021-04-16 09:38:55 -04:00
|
|
|
testCompile(libraries.dom4j) {
|
|
|
|
transitive = false
|
|
|
|
}
|
2016-02-20 11:50:13 -05:00
|
|
|
|
2017-12-14 04:20:02 -05:00
|
|
|
testRuntime( libraries.expression_language )
|
2016-02-20 11:50:13 -05:00
|
|
|
|
2012-02-29 11:30:40 -05:00
|
|
|
testRuntime('jaxen:jaxen:1.1')
|
2016-10-04 16:43:27 -04:00
|
|
|
testRuntime(libraries.byteBuddy)
|
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
|
|
|
}
|
2021-08-26 10:43:33 -04:00
|
|
|
|
|
|
|
tasks.test {
|
|
|
|
enabled = project.db == 'pgsql'
|
|
|
|
}
|