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'
|
|
|
|
|
2024-10-17 10:22:37 -04:00
|
|
|
apply from: rootProject.file( 'gradle/relocated-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 {
|
2021-11-04 03:26:49 -04:00
|
|
|
api project( ':hibernate-core' )
|
2022-04-22 19:40:06 -04:00
|
|
|
api libs.geolatte
|
2021-11-04 03:26:49 -04:00
|
|
|
|
2024-12-01 07:37:51 -05:00
|
|
|
compileOnly jdbcLibs.postgresql
|
2021-11-04 03:26:49 -04:00
|
|
|
|
|
|
|
testImplementation project( ':hibernate-testing' )
|
|
|
|
testImplementation project( ':hibernate-ant' )
|
|
|
|
testImplementation project( path: ':hibernate-core', configuration: 'tests' )
|
2022-04-22 19:40:06 -04:00
|
|
|
testImplementation jakartaLibs.validation
|
|
|
|
testImplementation libs.jandex
|
|
|
|
testImplementation libs.classmate
|
|
|
|
testImplementation libs.validator
|
|
|
|
testImplementation 'org.dom4j:dom4j:2.1.3@jar'
|
2021-11-04 03:26:49 -04:00
|
|
|
|
2024-12-01 07:37:51 -05:00
|
|
|
testImplementation jdbcLibs.postgresql
|
|
|
|
testImplementation jdbcLibs.h2gis
|
2021-11-04 03:26:49 -04:00
|
|
|
|
2022-04-22 19:40:06 -04:00
|
|
|
testRuntimeOnly jakartaLibs.el
|
2021-11-04 03:26:49 -04:00
|
|
|
testRuntimeOnly 'jaxen:jaxen:1.1'
|
2022-04-22 19:40:06 -04:00
|
|
|
testRuntimeOnly libs.byteBuddy
|
2011-07-23 09:39:27 -04:00
|
|
|
}
|
|
|
|
|
2012-02-29 11:30:40 -05:00
|
|
|
sourceSets.test.resources {
|
2024-01-08 17:59:17 -05:00
|
|
|
setSrcDirs( ['src/test/resources'] )
|
2011-07-23 09:39:27 -04:00
|
|
|
}
|
2021-08-26 10:43:33 -04:00
|
|
|
|
|
|
|
tasks.test {
|
2021-11-11 07:08:34 -05:00
|
|
|
|
2022-11-03 10:15:01 -04:00
|
|
|
enabled = ['h2',
|
|
|
|
'pgsql',
|
2021-11-11 06:28:44 -05:00
|
|
|
'pgsql_ci',
|
2021-11-04 03:26:49 -04:00
|
|
|
'cockroachdb',
|
|
|
|
'mariadb',
|
2022-11-03 10:15:01 -04:00
|
|
|
'mariadb_ci',
|
|
|
|
'mysql',
|
2021-11-11 06:28:44 -05:00
|
|
|
'mysql_ci',
|
2022-11-03 10:15:01 -04:00
|
|
|
'oracle',
|
2022-01-21 09:11:20 -05:00
|
|
|
'oracle_ci',
|
2023-06-30 09:18:16 -04:00
|
|
|
'oracle_xe_ci',
|
2022-01-22 08:36:24 -05:00
|
|
|
'mssql',
|
|
|
|
'mssql_ci'
|
2021-11-11 06:28:44 -05:00
|
|
|
].contains( project.db )
|
2021-04-13 12:13:30 -04:00
|
|
|
}
|
|
|
|
|