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
|
|
|
|
2020-04-06 18:21:11 +01:00
|
|
|
description = 'Integrate support for Spatial/GIS data into Hibernate O/RM'
|
|
|
|
|
2018-01-10 15:06:58 -06:00
|
|
|
apply from: rootProject.file( 'gradle/published-java-module.gradle' )
|
2021-07-14 11:44:35 -05:00
|
|
|
apply plugin: 'org.hibernate.matrix-test'
|
2013-05-06 22:26:28 +02:00
|
|
|
|
2015-04-29 23:21:38 -05:00
|
|
|
|
2011-07-23 15:39:27 +02:00
|
|
|
dependencies {
|
2021-10-13 10:24:56 +02:00
|
|
|
api project(':hibernate-core')
|
|
|
|
api libraries.geolatte
|
2018-03-29 23:16:12 -05:00
|
|
|
|
2021-09-22 17:52:06 -05:00
|
|
|
compileOnly libraries.postgresql
|
2015-11-30 09:04:09 +00:00
|
|
|
|
2021-10-13 10:24:56 +02:00
|
|
|
testImplementation project(':hibernate-testing')
|
|
|
|
testImplementation project(':hibernate-ant')
|
|
|
|
testImplementation project( path: ':hibernate-core', configuration: 'tests' )
|
2021-07-19 21:57:45 +02:00
|
|
|
|
2021-10-13 10:24:56 +02:00
|
|
|
testImplementation libraries.jakarta_validation
|
|
|
|
testImplementation libraries.jandex
|
|
|
|
testImplementation libraries.classmate
|
|
|
|
testImplementation libraries.jakarta_validator
|
|
|
|
testImplementation libraries.dom4j
|
2021-08-26 23:45:36 +02:00
|
|
|
|
2021-09-22 17:52:06 -05:00
|
|
|
testImplementation libraries.postgresql
|
2016-02-20 17:50:13 +01:00
|
|
|
|
2021-10-13 10:24:56 +02:00
|
|
|
testRuntimeOnly libraries.jakarta_el
|
|
|
|
testRuntimeOnly 'jaxen:jaxen:1.1'
|
|
|
|
testRuntimeOnly 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
|
|
|
}
|
2021-08-26 09:43:33 -05:00
|
|
|
|
|
|
|
tasks.test {
|
2021-08-26 23:45:36 +02:00
|
|
|
enabled = ['pgsql', 'cockroachdb'].contains( project.db )
|
2021-04-13 18:13:30 +02:00
|
|
|
}
|
|
|
|
|
2021-08-26 23:45:36 +02:00
|
|
|
tasks.test.include '**/*'
|
2021-04-13 18:13:30 +02:00
|
|
|
|