49 lines
1.3 KiB
Groovy
49 lines
1.3 KiB
Groovy
import org.apache.tools.ant.filters.ReplaceTokens
|
|
|
|
/*
|
|
* 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/published-java-module.gradle' )
|
|
apply plugin: 'org.hibernate.matrix-test'
|
|
|
|
|
|
dependencies {
|
|
compile project(':hibernate-core')
|
|
compile libraries.geolatte
|
|
|
|
compileOnly libraries.postgresql
|
|
|
|
testCompile project(':hibernate-testing')
|
|
testCompile project(':hibernate-ant')
|
|
testCompile project( path: ':hibernate-core', configuration: 'tests' )
|
|
|
|
testCompile libraries.jakarta_validation
|
|
testCompile libraries.jandex
|
|
testCompile libraries.classmate
|
|
testCompile libraries.jakarta_validator
|
|
testCompile libraries.dom4j
|
|
|
|
testImplementation libraries.postgresql
|
|
|
|
testRuntime libraries.jakarta_el
|
|
testRuntime 'jaxen:jaxen:1.1'
|
|
testRuntime libraries.byteBuddy
|
|
}
|
|
|
|
sourceSets.test.resources {
|
|
setSrcDirs(['src/test/java', 'src/test/resources'])
|
|
}
|
|
|
|
tasks.test {
|
|
enabled = ['pgsql', 'cockroachdb'].contains( project.db )
|
|
}
|
|
|
|
tasks.test.include '**/*'
|
|
|