hibernate-orm/hibernate-spatial/hibernate-spatial.gradle

49 lines
1.3 KiB
Groovy
Raw Normal View History

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'
2015-04-29 23:21:38 -05:00
dependencies {
2021-10-13 10:24:56 +02:00
api project(':hibernate-core')
api libraries.geolatte
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-10-13 10:24:56 +02:00
testImplementation libraries.jakarta_validation
testImplementation libraries.jandex
testImplementation libraries.classmate
testImplementation libraries.jakarta_validator
testImplementation libraries.dom4j
testImplementation libraries.postgresql
2021-10-13 10:24:56 +02:00
testRuntimeOnly libraries.jakarta_el
testRuntimeOnly 'jaxen:jaxen:1.1'
testRuntimeOnly libraries.byteBuddy
}
sourceSets.test.resources {
setSrcDirs(['src/test/java', 'src/test/resources'])
}
2021-08-26 09:43:33 -05:00
tasks.test {
enabled = ['pgsql', 'cockroachdb'].contains( project.db )
}
tasks.test.include '**/*'