59 lines
1.4 KiB
Groovy
59 lines
1.4 KiB
Groovy
/*
|
|
* Hibernate, Relational Persistence for Idiomatic Java
|
|
*
|
|
* 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>.
|
|
*/
|
|
|
|
description = 'Integrate support for Spatial/GIS data into Hibernate O/RM'
|
|
|
|
apply from: rootProject.file( 'gradle/relocated-published-java-module.gradle' )
|
|
apply plugin: 'org.hibernate.matrix-test'
|
|
|
|
|
|
dependencies {
|
|
api project( ':hibernate-core' )
|
|
api libs.geolatte
|
|
|
|
compileOnly dbLibs.postgresql
|
|
|
|
testImplementation project( ':hibernate-testing' )
|
|
testImplementation project( ':hibernate-ant' )
|
|
testImplementation project( path: ':hibernate-core', configuration: 'tests' )
|
|
testImplementation jakartaLibs.validation
|
|
testImplementation libs.jandex
|
|
testImplementation libs.classmate
|
|
testImplementation libs.validator
|
|
testImplementation 'org.dom4j:dom4j:2.1.3@jar'
|
|
|
|
testImplementation dbLibs.postgresql
|
|
testImplementation dbLibs.h2gis
|
|
|
|
testRuntimeOnly jakartaLibs.el
|
|
testRuntimeOnly 'jaxen:jaxen:1.1'
|
|
testRuntimeOnly libs.byteBuddy
|
|
}
|
|
|
|
sourceSets.test.resources {
|
|
setSrcDirs( ['src/test/resources'] )
|
|
}
|
|
|
|
tasks.test {
|
|
|
|
enabled = ['h2',
|
|
'pgsql',
|
|
'pgsql_ci',
|
|
'cockroachdb',
|
|
'mariadb',
|
|
'mariadb_ci',
|
|
'mysql',
|
|
'mysql_ci',
|
|
'oracle',
|
|
'oracle_ci',
|
|
'oracle_xe_ci',
|
|
'mssql',
|
|
'mssql_ci'
|
|
].contains( project.db )
|
|
}
|
|
|