2018-03-29 23:16:12 -05:00
|
|
|
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
|
2012-02-29 17:30:40 +01:00
|
|
|
/*
|
2015-05-18 23:23:35 -05:00
|
|
|
* Hibernate, Relational Persistence for Idiomatic Java
|
2012-02-29 17:30:40 +01:00
|
|
|
*
|
2015-05-18 23:23:35 -05: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 17:30:40 +01:00
|
|
|
*/
|
2018-01-10 15:06:58 -06:00
|
|
|
|
|
|
|
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
2013-05-06 22:26:28 +02:00
|
|
|
apply plugin: 'hibernate-matrix-testing'
|
|
|
|
|
2018-01-10 15:06:58 -06:00
|
|
|
description = 'Integrate support for Spatial/GIS data into Hibernate O/RM'
|
2015-04-29 23:21:38 -05:00
|
|
|
|
2011-07-23 15:39:27 +02:00
|
|
|
dependencies {
|
2018-03-29 23:16:12 -05:00
|
|
|
compile( project(':hibernate-core') )
|
|
|
|
compile( libraries.geolatte )
|
|
|
|
|
2018-04-20 12:07:31 +01:00
|
|
|
compile( libraries.postgresql )
|
2015-11-30 09:04:09 +00:00
|
|
|
|
2012-02-29 17:30:40 +01:00
|
|
|
compile(libraries.dom4j) {
|
2011-07-23 15:39:27 +02:00
|
|
|
transitive = false
|
|
|
|
}
|
|
|
|
|
2012-02-29 17:30:40 +01:00
|
|
|
testCompile(libraries.junit)
|
|
|
|
testCompile(project(':hibernate-testing'))
|
2012-10-30 22:17:59 +01:00
|
|
|
testCompile([group: 'commons-dbcp', name: 'commons-dbcp', version: '1.4'])
|
2012-02-29 17:30:40 +01:00
|
|
|
testCompile(libraries.validation)
|
|
|
|
testCompile(libraries.jandex)
|
|
|
|
testCompile(libraries.classmate)
|
|
|
|
testCompile(libraries.validator) {
|
|
|
|
// for test runtime
|
|
|
|
transitive = true
|
|
|
|
}
|
2016-02-20 17:50:13 +01:00
|
|
|
|
2017-12-14 10:20:02 +01:00
|
|
|
testRuntime( libraries.expression_language )
|
2016-02-20 17:50:13 +01:00
|
|
|
|
2012-02-29 17:30:40 +01:00
|
|
|
testRuntime('jaxen:jaxen:1.1')
|
2016-10-04 22:43:27 +02:00
|
|
|
testRuntime(libraries.byteBuddy)
|
2011-07-23 15:39:27 +02:00
|
|
|
}
|
|
|
|
|
2012-02-29 17:30:40 +01:00
|
|
|
sourceSets.test.resources {
|
|
|
|
setSrcDirs(['src/test/java', 'src/test/resources'])
|
2011-07-23 15:39:27 +02:00
|
|
|
}
|